note 45838 deleted from language.functions by tomsommer

From: Date: Wed, 22 Sep 2004 19:32:13 +0000
Subject: note 45838 deleted from language.functions by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-77197@lists.php.net to get a copy of this message
Note Submitter: marcus at adolfsson dot com ---- For people wishing to access all global variables within a function, and not wanting to define them each time, put this at the top of the function: foreach ($GLOBALS as $variable => $value) { ${$variable} = $value; }

« previous php.notes (#77197) next »