Re: name of the variable

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

 



Cefull Lo wrote:
> Hi everyone,
> Is there any function that return the name of the variable??
> i.e.
> 
> $foo='abc';
> $bar=somefunc($foo); // $bar='foo' here

no - and if you think you need this then there is something very wrong with you code,
it's completely backward-assed and you need to rethink what you are doing.

maybe if you explain the exact nature of your problem we could show you
a better way of tackling it so that you are no longer in need of a function
that 'tells you the name of the varable'

> 
> Thanks
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[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