note 123828 added to function.array-key-first
| From: | wes at nospam dot example dot org | Date: | Wed, 08 May 2019 08:16:09 +0000 |
| Subject: | note 123828 added to function.array-key-first | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-210983@lists.php.net to get a copy of this message | ||
the "ridiculous foreach cycles" actually avoid allocating gigantic arrays (which is what
array_keys() does)
the right polyfill is the one by divinity76+spam at gmail dot com
----
Server IP: 208.43.231.9
Probable Submitter: 185.85.3.142 (proxied: 82.49.105.16)
----
Manual Page -- http://php.net/manual/en/function.array-key-first.php
Edit -- https://master.php.net/note/edit/123828
Del: integrated -- https://master.php.net/note/delete/123828/integrated
Del: useless -- https://master.php.net/note/delete/123828/useless
Del: bad code -- https://master.php.net/note/delete/123828/bad+code
Del: spam -- https://master.php.net/note/delete/123828/spam
Del: non-english -- https://master.php.net/note/delete/123828/non-english
Del: in docs -- https://master.php.net/note/delete/123828/in+docs
Del: other reasons-- https://master.php.net/note/delete/123828
Reject -- https://master.php.net/note/reject/123828
Search -- https://master.php.net/manage/user-notes.php