Re: Re: [VOTE] array_column() function

From: Date: Mon, 14 Jan 2013 18:23:17 +0000
Subject: Re: Re: [VOTE] array_column() function
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Scott,

> I did review these, and I like them, but I think they should be added
> separately, especially since they deal more with objects than arrays.
>
> As long as the work with objects that implement ArrayAccess then it should
> be fine?
>

For consistency sake, I would recommend that it does not work with objects
(even that implement ArrayAccess). Right now, the array extension (the 76+
array functions) don't accept ArrayAccess classes, so this should be no
different IMHO...

Anthony


Thread (55 messages)

« previous php.internals (#64942) next »