Let blocks

From: Date: Wed, 18 Jul 2007 18:25:57 +0000
Subject: Let blocks
Groups: php.internals 
Request: Send a blank email to internals+get-31059@lists.php.net to get a copy of this message
Hi again! Now that namespaces seem to be on their way into PHP 6 I wonder if let-blocks, as in JavaScript 1.7+, ever has been considered for PHP, to hide global variables from each other? If so, can someone point me to the discussion? For those that might have missed JS 1.7: http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7#Block_scope_with_let Lars Gunther

« previous php.internals (#31059) next »