Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80912 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2105 invoked from network); 20 Jan 2015 22:30:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jan 2015 22:30:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=francois@tekwire.net; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=francois@tekwire.net; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain tekwire.net does not designate 212.27.42.2 as permitted sender) X-PHP-List-Original-Sender: francois@tekwire.net X-Host-Fingerprint: 212.27.42.2 smtp2-g21.free.fr Received: from [212.27.42.2] ([212.27.42.2:62359] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5B/9A-49046-907DEB45 for ; Tue, 20 Jan 2015 17:30:35 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id D3F9C4B0204; Tue, 20 Jan 2015 23:27:57 +0100 (CET) Reply-To: To: "'Rowan Collins'" , References: <54BE7749.2010603@gmail.com> In-Reply-To: <54BE7749.2010603@gmail.com> Date: Tue, 20 Jan 2015 23:30:27 +0100 Message-ID: <018601d03500$b14b2b30$13e18190$@tekwire.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQMEanErYdbhCien5Rv/+lTMe20j8QJRrVpGAsiH3jmaOFp6sA== Content-Language: fr X-Antivirus: avast! (VPS 150120-1, 20/01/2015), Outbound message X-Antivirus-Status: Clean Subject: RE: [PHP-DEV] in Operator From: francois@tekwire.net (=?UTF-8?Q?Fran=C3=A7ois_Laupretre?=) > De : Rowan Collins [mailto:rowan.collins@gmail.com] > > Given the ability to write foreach ( $foo as $key => $value ), I'm not > sure adding a variant syntax of for ( $key in $foo ) has that much value > for PHP. +1. Useless and ambiguous.