GLOBAL variables
Say you have a variable $myvar that is outside of a function, but you want to call it inside a function. If you have globals turned on in your PHP configuration, you can reference $myvar with $GLOBALS['myvar'].
[Click to add or edit comments])
Please prepend comments below including a date