Re: [PHP-DEV] PHP 4.0 Bug #5892 Updated: introducing a $LOCALS array From: Zak Greant (zak <email protected>)
Date: 12/16/00

Hello Mr. Waldschrott!

Use get_defined_vars() - that will grab everything defined in the current
scope.

 --zak

----- Original Message -----
From: <waldschrott <email protected>>
To: <php-dev <email protected>>
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 <email protected>
> 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 <email protected>
> won't fix this way
>
> --------------------------------------------------------------------------
-
>
> [2000-08-01 10:46:42] waldschrott <email protected>
> 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 <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>