Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31059 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27990 invoked by uid 1010); 18 Jul 2007 18:26:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27975 invoked from network); 18 Jul 2007 18:26:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jul 2007 18:26:03 -0000 Authentication-Results: pb1.pair.com header.from=webmaster@keryx.se; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=webmaster@keryx.se; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain keryx.se designates 208.69.121.33 as permitted sender) X-PHP-List-Original-Sender: webmaster@keryx.se X-Host-Fingerprint: 208.69.121.33 supavet.nexcess.net Received: from [208.69.121.33] ([208.69.121.33:41146] helo=supavet.nexcess.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FB/A7-01090-A3B5E964 for ; Wed, 18 Jul 2007 14:26:02 -0400 Received: (qmail 15789 invoked by uid 108); 18 Jul 2007 18:25:59 -0000 Received: from unknown (HELO ?127.0.0.1?) (gunther@keryx.se@87.227.57.139) by supavet.nexcess.net with ESMTPA; 18 Jul 2007 18:25:59 -0000 Message-ID: <469E5B35.2030602@keryx.se> Date: Wed, 18 Jul 2007 20:25:57 +0200 User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 000757-3, 2007-07-17), Outbound message X-Antivirus-Status: Clean Subject: Let blocks From: webmaster@keryx.se (Keryx Web) 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