Php Define Global Variable Javascript Example External Validity