'local' variables
| From: | Faisal Nasim | Date: | Mon, 19 Dec 2005 10:33:13 +0000 |
| Subject: | 'local' variables | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-21280@lists.php.net to get a copy of this message | ||
I'm thinking to implement a block-level variable scope support for PHP
(Perl's 'my'). It'll be similar to variable scoping as in the
functions using a qualifier 'local' (as opposed to 'global').
Once a variable is localized, the only other same-named variable it
can use is the global variable through $GLOBALS array. Any thoughts?
Faisal