Hi,

Is it possible to define my own superglobal variable or array?
Rather than doing `global $cfg;` in all of my functions, I'd like to just set $cfg as a superglobal in one place and forget about it.


Yes, I'm aware I could use $GLOBALS['cfg'], but I'd much prefer it worked like $_GET etc.

---
Justin French, Indent.com.au
[EMAIL PROTECTED]
Web Application Development & Graphic Design

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to