From:             randallgirard at hotmail dot com
Operating system: Windows / Linux
PHP version:      5.2.0
PHP Bug Type:     Feature/Change Request
Bug description:  new superglobal...

Description:
------------
Just as there is a $GLOBALS var pointing to the global scope, there should
also be a $SCOPE or $LOCALS var pointing to the current local, usually
function/method scope. This would add alot of coding potential, and should
be included in the language because of misc features like variable
variables which appear to utilize the local, then global scope if the var
is not defined locally. It would also greatly aid in debugging, as you
could quickly and easily dump all var's in the scope... And, I'm sure
others could find many more uses for such a feature.

If such a feature allready exists, I'm sorry for my ignorance and I would
greatly appreciate feedback informing me of how a local scope array could
be accessed. THANKS!!


-- 
Edit bug report at http://bugs.php.net/?id=40339&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40339&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40339&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40339&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=40339&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=40339&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=40339&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=40339&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=40339&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=40339&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=40339&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=40339&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=40339&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=40339&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40339&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=40339&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=40339&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=40339&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40339&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=40339&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=40339&r=mysqlcfg

Reply via email to