Re: How to get name of a variable?
| From: | Andrei Zmievski | Date: | Wed, 12 Jul 2000 20:41:32 +0000 |
| Subject: | Re: How to get name of a variable? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6261@lists.php.net to get a copy of this message | ||
On Wed, 12 Jul 2000, Bernhard Fuerst wrote:
> It would be useful for debugging: I want to know all about a variable:
> name, type, value. This information should be piped via JavaScript to a
> second window. To simplify this I don't want to provide the name.
> Instead it should be determined automatically.
It's not really possible to do, though. The functions get passed only
variable's value which may be associated with multiple variable names
(with references, for example).
-Andrei
Give a man a fish; you have fed him for today. Teach a man to use
the Net and he won't bother you for weeks.
-Author unknown