I don't get the point of it. IMO this will only add another level of confusion to sourcecode; unless someone has a real good example (better than those in the posted link) where this technique is required I cannot see which benefit this feature adds.
regards danielj Keryx Web wrote: > 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 > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php