note 22687 deleted from language.variables.scope by danbrown

From: Date: Mon, 18 May 2009 01:42:52 +0000
Subject: note 22687 deleted from language.variables.scope by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-155583@lists.php.net to get a copy of this message
Note Submitter: aslak at novita dot no ---- Basicly what happens is this: $var t; function foo() { global $t; } is identical to: function foo() { $t=&$GLOBALS[t]; } which will answer the above argument becouse when you use $t=&$somelocal; you overwrite the first $t=&.....

« previous php.notes (#155583) next »