If you enter global into Google, the first PHP-related page will surely be about how globals are evil. Why is this so? I have been using them in a lot of my functions and classes and have never had any problems.
If you enter global into Google, the first PHP-related page will surely be about
Share
first attempt to google ‘php global’ brought me this:
http://tjhunt.blogspot.de/2009/04/php-global-variables-are-not.html