News for hackers. Stuff that matters.
Re:PHP Cheat Sheet by Legion on Thursday August 27, 2009 @09:47PM (#790543)
Nice catch. As explained at www.php.net/global, PHP most certainly does "support global variables". They are accessible by declaring them with the "global" keyword within the scope they are to be used, or by accessing them via the $GLOBALS superglobal (one that, it appears, the author neglected to include in his list of superglobals)

There are no comments on this comment yet.