Re: Request #67949 DOMNodeList should implement ArrayAccess

From: Date: Sun, 21 Sep 2014 22:58:49 +0000
Subject: Re: Request #67949 DOMNodeList should implement ArrayAccess
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-77420@lists.php.net to get a copy of this message
On 21 Sep 2014, at 22:43, Peter Cowburn <petercowburn@gmail.com> 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’d *much* rather see the DOM implementation completed (check out all of > the “not implemented” 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/

« previous php.internals (#77420) next »