Re: Is there a way to get a variable name as a string?
| From: | Edward Vermillion | Date: | Tue, 19 Jul 2005 03:29:45 +0000 |
| Subject: | Re: Is there a way to get a variable name as a string? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-218937@lists.php.net to get a copy of this message | ||
Edward Vermillion wrote:
Rasmus Lerdorf wrote:Actually I meant debug_backtrace()... Damn fingers... but it is still a question. :)Daevid Vincent wrote:Wouldn't the name of the variable show up in a var_dump()? It would be messy, but if it's there...Is there a way to get the name of a variable as a string? For example...Nope, not possible. -Rasmus