Boiani
Tuesday, 20 August 2013
PHP: user declared variable overwrites variable in $GLOBALS
PHP: user declared variable overwrites variable in $GLOBALS
I declared a variable ($bonus) in my code and assigned a value to it.
After this, $GLOBALS['bonus'] contains the same value.
Why does this happen?
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment