PHP: user declared variable overwrites variable in $GLOBALS -


i declared variable ($bonus) in code , assigned value it. after this, $globals['bonus'] contains same value.

why happen?

that's way $globals works in php http://php.net/manual/fr/reserved.variables.globals.php


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -