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

Using 'OR' and 'AND' in SQL Server -

c++ - NetBeans Remote Development with additional configuration -

visual studio - TFS will not accept changes I've made to a Java project -