global variables or not?
View Single Post
05-12-2009, 06:54 PM
Join Date: Feb 2009
Location: New York
Oh I'd like to add, later on when he talks about SUPER GLOBAL ARRAYS, he says this about "global variables..."
You don’t have to use the $GLOBALS array, which
allows for accessing
without having to predeclare them or
using the deprecated globals keyword.
So it sounds like he's stepping ontop of himself. If PHP doesn't support global variables, why is he saying that?
Should he be better off saying, something like:
You don't have to use the $GLOBALS array, which allows for accessing your
main scripts variables
View Public Profile
Send a private message to allworknoplay
Find More Posts by allworknoplay