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 https://github.com/php/php-src/pull/7698. However, I am not sure, if we need to add a fourth parameter to the function to change its behavior or we can add it as a new function, something like `array_column_group` or any other name. Regards, Hassan. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php
