name of the variable
| From: | Cefull Lo | Date: | Fri, 09 Mar 2007 09:27:33 +0000 |
| Subject: | name of the variable | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-250157@lists.php.net to get a copy of this message | ||
Hi everyone,
Is there any function that return the name of the variable??
i.e.
$foo='abc';
$bar=somefunc($foo); // $bar='foo' here
Thanks
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GSC d- s:>++ a- C++ UL/B+++$ !P L++>+++++
E--- W+ N o-- K? w++ O? M- V- PS PE++(-) Y+
PGP++@ t 5 X R+>+++$ tv- b+++ DI++ D++
G++@ e+++>+++++ h*>--- r-- z?
-----END GEEK CODE BLOCK------