note 9270 deleted from language.references.whatdo by sniper

From: Date: Tue, 30 Sep 2003 01:19:53 +0000
Subject: note 9270 deleted from language.references.whatdo by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-57323@lists.php.net to get a copy of this message
Note Submitter: heathmike@hotmail.com ---- I think it would also be prudent to explain what happens when you use Global $varname in a function as Global does not give access to a global variable per se. It creates a reference within the function to that global variable so a function like: <?php function foo(&$bar) { global $foobar; $foobar = &$bar; } ?> The global $foobar's reference isn't going to change but $foobar inside foo() as a label or reference will change.

« previous php.notes (#57323) next »