note 96314 deleted from language.variables by danbrown

From: Date: Fri, 19 Feb 2010 23:36:25 +0000
Subject: note 96314 deleted from language.variables by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-166202@lists.php.net to get a copy of this message
Note Submitter: mail renekuehne com ---- I think thats much easier function GetVar($var){ return array_search($var, $GLOBALS); } $foo = 'bar'; //get name of registered var 'foo echo GetVar($foo);

« previous php.notes (#166202) next »