array_column bug and its fix
| From: | Jakub Zelenka | Date: | Sun, 31 Mar 2013 20:14:44 +0000 |
| Subject: | array_column bug and its fix | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-66874@lists.php.net to get a copy of this message | ||
Hi,
there seems to be a bug in array_column function. Look at this:
http://3v4l.org/kZahr
The variables $column_key and $index_key are strings after calling
array_column which is probably wrong... :)
I have fixed that - pull request:
https://github.com/php/php-src/pull/316
Regards
Jakub