Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61621 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11605 invoked from network); 21 Jul 2012 13:22:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jul 2012 13:22:44 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:57458] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 09/10-10786-22DAA005 for ; Sat, 21 Jul 2012 09:22:43 -0400 Received: from [192.168.2.230] (ppp-93-104-4-219.dynamic.mnet-online.de [93.104.4.219]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id 82CCE63466; Sat, 21 Jul 2012 15:22:39 +0200 (CEST) To: David Muir Cc: Matthew Weier O'Phinney , internals@lists.php.net In-Reply-To: <4FFF6C9C.2080802@gmail.com> References: <1342050547.1456.33.camel@guybrush> <4FFF6C9C.2080802@gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Sat, 21 Jul 2012 15:22:22 +0200 Message-ID: <1342876942.6071.1.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Internal iteration API From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Fri, 2012-07-13 at 10:32 +1000, David Muir wrote: > What about extending the array typehint include ArrayAccess, and extend > the Traversable typehint to include arrays? For that all (internal) consumers of Traversable have to work with arrays. i.e. . This could be in the scope of the internal iteration but should not be forgotten. johannes