Re: name of the variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There's also another function on the official PHP site.

http://no.php.net/manual/en/language.variables.php#49997


2007/3/9, Cefull Lo <cefull@xxxxxxxxx>:

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------


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux