note 124525 added to function.array-column
| From: | unixolutions at gmail dot com | Date: | Thu, 19 Dec 2019 19:26:49 +0000 |
| Subject: | note 124525 added to function.array-column | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-213558@lists.php.net to get a copy of this message | ||
For the array_columns code posted please replace
$idx_list = array_fill(0, count($input));
with
$idx_list = range(0, count($input));
----
Server IP: 45.112.84.4
Probable Submitter: 38.142.137.34 (proxied: 50.73.73.161)
----
Manual Page -- http://php.net/manual/en/function.array-column.php
Edit -- https://master.php.net/note/edit/124525
Del: integrated -- https://master.php.net/note/delete/124525/integrated
Del: useless -- https://master.php.net/note/delete/124525/useless
Del: bad code -- https://master.php.net/note/delete/124525/bad+code
Del: spam -- https://master.php.net/note/delete/124525/spam
Del: non-english -- https://master.php.net/note/delete/124525/non-english
Del: in docs -- https://master.php.net/note/delete/124525/in+docs
Del: other reasons-- https://master.php.net/note/delete/124525
Reject -- https://master.php.net/note/reject/124525
Search -- https://master.php.net/manage/user-notes.php