Request: Scope variables, $GLOBALS and ???

From: Date: Thu, 17 May 2001 09:47:12 +0000
Subject: Request: Scope variables, $GLOBALS and ???
Groups: php.dev 
Request: Send a blank email to php-dev+get-55590@lists.php.net to get a copy of this message
The ability to get all variables within a certain scope would be a good thing to have I think. If it wouldn't be a huge overhead to make it available? Makes sense also to have class and function scopes available aswell as the $GLOBALS and $HTTP_POST/GET/COOKIE_VARS that are currently available. What i'm proposing is something like $GLOBALS but that only contains the current scope be it function / global or class. $CURRENT[] or $VARIABLES[] or something similar might be a good name for it. - Gustaf (or is this already available in
                some obscure way?)


« previous php.dev (#55590) next »