Re: Retrieving variable name?
| From: | Jake Gardner | Date: | Wed, 21 Sep 2005 22:02:19 +0000 |
| Subject: | Re: Retrieving variable name? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-222924@lists.php.net to get a copy of this message | ||
Maybe something fancy with references?
http://us2.php.net/manual/en/language.references.php
On 9/21/05, Thorsten Suckow-Homberg <ts@siteartwork.de> wrote:
> > Short Answer : No
> > Longer Answer : Maybe, if you have knowledge of PHP internals and a
> > willingness to write an extension. Even then it may not work.. <g>
>
>
> Well, PHP5's magic methods __get()/ __set() could be used to resolve the
> variable's name...
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>