custom superglobals?

From: Date: Fri, 14 Jan 2005 01:52:05 +0000
Subject: custom superglobals?
Groups: php.general 
Request: Send a blank email to php-general+get-206353@lists.php.net to get a copy of this message
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 justin.french@indent.com.au Web Application Development & Graphic Design

« previous php.general (#206353) next »