Re: PHP 4.0 Bug #5892 Updated: introducing a $LOCALS array
| From: | Zak Greant | Date: | Sat, 16 Dec 2000 18:37:21 +0000 |
| Subject: | Re: PHP 4.0 Bug #5892 Updated: introducing a $LOCALS array | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-41621@lists.php.net to get a copy of this message | ||
Hello Mr. Waldschrott!
Use get_defined_vars() - that will grab everything defined in the current
scope.
--zak
----- Original Message -----
From: <waldschrott@php.net>
To: <php-dev@lists.php.net>
Sent: Saturday, December 16, 2000 11:28 AM
Subject: [PHP-DEV] PHP 4.0 Bug #5892 Updated: introducing a $LOCALS array
> ID: 5892
> Updated by: waldschrott
> Reported By: waldschrott@php.net
> Status: Closed
> Bug Type: Feature/Change Request
> Assigned To:
> Comments:
>
> additional user requested comment:
>
> introducing a $LOCALS variable would be an evident slowdown,
> thus implementing this is not affordable
>
> Previous Comments:
> --------------------------------------------------------------------------
-
>
> [2000-11-22 15:10:23] waldschrott@php.net
> won't fix this way
>
> --------------------------------------------------------------------------
-
>
> [2000-08-01 10:46:42] waldschrott@php.net
> Enhancement to make debugging much easier:
>
> Is it anyhow possible to pull out the local scope out of PHP? I`m
sometimes using var_dump($GLOBALS) and I think var_dump($LOCALS) could be
useful too.
> Eg. if you´ve function calls and you want to know all parameters passed.
>
>
>
> --------------------------------------------------------------------------
-
>
>
> Full Bug description available at: http://bugs.php.net/?id=5892
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>