[PHP-DEV] Re: Option for array_column() to preserve keys.

2021-09-08 Thread Ben Ramsey
Ben Ramsey wrote on 9/8/21 16:31:> We originally had a patch for this while PHP 5.5 was still in beta, but > we decided against merging it, and I can't remember why. :-) > This looks like part of the thread. I'm not sure where the rest of it is: https://externals.io/message/67113 Cheers, Ben

[PHP-DEV] Re: Option for array_column() to preserve keys.

2021-09-08 Thread Ben Ramsey
Andreas Hennings wrote on 9/7/21 19:19: > Hello internals, > > The function array_column() would be much more useful if there was an > option to preserve the original array keys. > I can create an RFC, but I think it is better to first discuss the options. > > This is requested in different place