RE: [PHP] Variable Variables
| From: | Philip Olson | Date: | Thu, 30 May 2002 00:20:20 +0000 |
| Subject: | RE: [PHP] Variable Variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99818@lists.php.net to get a copy of this message | ||
> Never mind, ${$key} was what I was looking for - my test case set the
> wrong variable and that's why it didn't seem to be working.
You may want to code with E_NOTICE errors showing. To
show all levels, use error_reporting:
error_reporting(E_ALL);
This will show you undefined variables, and then some.
Note that error_reporting is both a function (runtime)
and a php directive.
Most PHP users feel that developing with E_ALL is good.
Regards,
Philip Olson
>
> CYA, Dave
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>