Re: [PHP-DEV] http://bugs.php.net/bugs.php?id=7553 From: Sterling Hughes (Sterling.Hughes <email protected>)
Date: 12/08/00

>
>
> What I'm asking is: is it viable to extend Zend / PHP 4 to
> recognize 'global', 'local', and 'parent' symbol tables?
> That way, there could be $GLOBALS, $LOCALS, and $PARENTS,
> and I could easily write my own extract(). Of course, MUCH
> more would become possible if this was reality, like easy
> checking of the state of all local variables within
> a function with print_r( $LOCALS ), etc.
>
>

take a look at the get_defined_vars() function...

-Sterling

-- 
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>