[UPHPU] $GLOBALS and global best practices

Brian J. Rogers brian at ditoforge.com
Mon Nov 7 10:51:58 MST 2011


The only time I've ever really used globals in that fashion is while I 
work on a project with a database wrapper class. I don't think they are 
harmful in nature, but when dealing with cases such as security class 
wrappers or user data, I think they should be avoided if possible.

-Brian


More information about the UPHPU mailing list