On Sun, Apr 24, 2022 at 10:24 PM Rowan Tommins wrote:
>
> On 23/04/2022 23:42, mickmackusa wrote:
> > Ideally, PHP should have a native transposing function to put
> > developers out of their misery -- much like array_key_last() did.
>
>
> I think a better comparison would be array_column -
>
Hey,
I find it interesting that you linked
https://github.com/josefernandotrindade/array_transpose/blob/master/transpose.php
Wouldn't it be better to take that, brush it up (with some tests and
benchmarks), and release it as a packagist library?
Alternatively, adding it to a high quality library
On 23/04/2022 23:42, mickmackusa wrote:
Ideally, PHP should have a native transposing function to put
developers out of their misery -- much like array_key_last() did.
I think a better comparison would be array_column -
https://wiki.php.net/rfc/array_column One interesting thing that Ben
I am seeking constructive feedback/advice that will give me the best
chance of a successful RFC when I eventually submit it.
Introduction:
PHP developers have had an appetite for transposing data for many
years; this is indicated by the nearly 100 Stack Overflow pages on
this narrow topic.
There