Hypothetical situation: I\'m running a complex site in php, and i use a lot of global variables.
i could store the variables in an existing global scope, say $
$
Both are pretty bad. I would suggest using a singleton, or static classes.
As for memory uses, there would be no noticable difference.