Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77420 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55522 invoked from network); 21 Sep 2014 22:58:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Sep 2014 22:58:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.200 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.200 imap1-2.ox.privateemail.com Received: from [192.64.116.200] ([192.64.116.200:35972] helo=imap1-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E4/B3-16580-1385F145 for ; Sun, 21 Sep 2014 18:58:57 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 7B99FB00094; Sun, 21 Sep 2014 18:58:54 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap1.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap1.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kxDyLqgDN5NJ; Sun, 21 Sep 2014 18:58:54 -0400 (EDT) Received: from oa-res-27-90.wireless.abdn.ac.uk (oa-res-27-90.wireless.abdn.ac.uk [137.50.27.90]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id BF327B0007B; Sun, 21 Sep 2014 18:58:52 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) In-Reply-To: Date: Sun, 21 Sep 2014 23:58:49 +0100 Cc: Florian Margaine , PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <0B86FC42-95B4-4CF7-A6C8-DE03BE1B57EE@ajf.me> References: To: Peter Cowburn X-Mailer: Apple Mail (2.1878.6) Subject: Re: [PHP-DEV] Request #67949 DOMNodeList should implement ArrayAccess From: ajf@ajf.me (Andrea Faulds) On 21 Sep 2014, at 22:43, Peter Cowburn wrote: > The DOM has a very specific API that we should be keeping to, and > encouraging developers to use. This is true and we should keep doing this. > I=92d *much* rather see the DOM implementation completed (check out = all of > the =93not implemented=94 parts we have), than some shiny, shiny = array-style > access to NodeList items. That said, people do like the shiny, shiny. I think this particular request is harmless. Note that this works in = JavaScript as well. -- Andrea Faulds http://ajf.me/