Date: 12/08/00
- Next message: Zeev Suraski: "Re: [PHP-DEV] Function caching..."
- Previous message: Adam Trachtenberg: "Re: [PHP-DEV] PHP 4.0 Bug #8180: Multiple "else" clauses in an "if" statement do not generate an error"
- In reply to: Cynic: "[PHP-DEV] http://bugs.php.net/bugs.php?id=7553"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>
>
> 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>
- Next message: Zeev Suraski: "Re: [PHP-DEV] Function caching..."
- Previous message: Adam Trachtenberg: "Re: [PHP-DEV] PHP 4.0 Bug #8180: Multiple "else" clauses in an "if" statement do not generate an error"
- In reply to: Cynic: "[PHP-DEV] http://bugs.php.net/bugs.php?id=7553"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

