Re: [DRAFT] RFC - array_column() function

From: Date: Fri, 22 Jun 2012 19:37:53 +0000
Subject: Re: [DRAFT] RFC - array_column() function
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-60940@lists.php.net to get a copy of this message
Hi Ben, I've tested your patch on Windows, it compiles and the tests pass. All the best with that :) Regards Anatoliy Am Fr, 22.06.2012, 17:52 schrieb Ben Ramsey: > On 6/22/12 5:32 AM, Léo Peltier wrote: >> Hi, >> >> Shouldn't this be called 'array_pluck'? >> This is the name people usually use when implementing it in PHP (see >> "array_pluck(" vs "array_column(" in Google) or in other languages/libs >> (see underscorejs, prototypejs and RoR). >> > > I'm open to changing or aliasing the name to array_pluck(), if others > are in agreement. > > -Ben > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#60940) next »