On Sat, 2003-08-23 at 21:15, Matthias Nothhaft wrote: [...User-land superglobals...] > $_MYFW->method_a(); is nicer than $GLOBALS['_MYFW']->method_a(); > and also shorter for vars u're using very often...
Use the singleton pattern: MYFW::getInstance()->method_a(); Global variables are evil. - Timm -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php