PHP Cheat Sheet(encycode.com)
encycode.com
PHP Cheat Sheet
http://encycode.com/wiki/index.php/PHP_Cheat_Sheet
8 comments
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)
when i look at that cheat sheet, i understand why php has such a bad fame: if you need to look up those function, you can't create good code!
still, a real php cheat sheet may be helpful to navigate through php's idiotic functions naming scheme...
still, a real php cheat sheet may be helpful to navigate through php's idiotic functions naming scheme...
No mention of lambda style anonymous functions, too!
Omits foreach; regretful.
It's a wiki, you can edit it: http://encycode.com/wiki/index.php/PHP_Cheat_Sheet#Foreach_L...
Since when?