note 116779 added to function.array-filter
| From: | no at mail dot com | Date: | Thu, 26 Feb 2015 15:34:40 +0000 |
| Subject: | note 116779 added to function.array-filter | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-201816@lists.php.net to get a copy of this message | ||
Infinite shame on PHP that array_filter does not transparently work for both arrays and associative
arrays. Why in the name of god an array and an associative array return both the same type ?.
Unfortunately I can't decide the language to program in otherwise I would move to a more
consistent language.
----
Server IP: 72.52.91.14
Probable Submitter: 200.126.168.35
----
Manual Page -- http://php.net/manual/en/function.array-filter.php
Edit -- https://master.php.net/note/edit/116779
Del: integrated -- https://master.php.net/note/delete/116779/integrated
Del: useless -- https://master.php.net/note/delete/116779/useless
Del: bad code -- https://master.php.net/note/delete/116779/bad+code
Del: spam -- https://master.php.net/note/delete/116779/spam
Del: non-english -- https://master.php.net/note/delete/116779/non-english
Del: in docs -- https://master.php.net/note/delete/116779/in+docs
Del: other reasons-- https://master.php.net/note/delete/116779
Reject -- https://master.php.net/note/reject/116779
Search -- https://master.php.net/manage/user-notes.php