Re: [PHP-DEV] RFC [Discussion] array_column results grouping

2021-12-04 Thread Hendra Gunawan
> > Hello, this is a proposal to upgrade the functionality of > `array_column` to return an indexed array for all of the matched data > instead of a single result. > > the RFC had been created here > https://wiki.php.net/rfc/array_column_results_grouping and the PR is > in here

Re: [PHP-DEV] Re: Array comparison works completely different than documented?

2021-12-04 Thread Jordan LeDoux
On Wed, Dec 1, 2021 at 7:00 AM Christoph M. Becker wrote: > > The point is that $a > $b is actually checking whether $b <= $a. This > is fine for ordered values, but these arrays are not orderable > (according to PHP's comparison). That might indeed not be documented in > the PHP manual (the

[PHP-DEV] Re: [VOTE] Migrating to GitHub issues

2021-12-04 Thread Nikita Popov
On Sat, Nov 20, 2021 at 11:37 AM Nikita Popov wrote: > Hi internals, > > I've opened voting on https://wiki.php.net/rfc/github_issues. The vote > closes 2021-12-04. > > Please see https://externals.io/message/116302 for the RFC discussion, > and https://externals.io/message/114300 for the

Re: [PHP-DEV] RFC [Discussion] array_column results grouping

2021-12-04 Thread Marco Pivetta
Gonna vote `no` on this: please design new/dedicated functions, rather than expanding optional parameters. On Sat, 4 Dec 2021, 10:57 Hassan Ahmed, <7sno...@gmail.com> wrote: > Hello, this is a proposal to upgrade the functionality of > `array_column` to return an indexed array for all of the

[PHP-DEV] RFC [Discussion] array_column results grouping

2021-12-04 Thread Hassan Ahmed
Hello, this is a proposal to upgrade the functionality of `array_column` to return an indexed array for all of the matched data instead of a single result. the RFC had been created here https://wiki.php.net/rfc/array_column_results_grouping and the PR is in here