Creating custom superglobals

From: Date: Mon, 14 Aug 2006 13:40:13 +0000
Subject: Creating custom superglobals
Groups: php.general 
Request: Send a blank email to php-general+get-240632@lists.php.net to get a copy of this message
Hello, Does the PHP environment (5.1.4) provide a way to define some custom variables as a superglobal? It would be useful for saving certain site preferences and settings that must be referred in many variables and classes, without every time writing global keyword at the beginning of a function definition. Thanks, Ville

« previous php.general (#240632) next »