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

java - How to Configure JAXRS and Spring With Annotations -

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

php - Create image in codeigniter on the fly -