note 119453 added to function.array-search
| From: | solly dot ucko at google dot com | Date: | Thu, 09 Jun 2016 21:18:01 +0000 |
| Subject: | note 119453 added to function.array-search | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-205677@lists.php.net to get a copy of this message | ||
I personally think that returning null would make more sense, as false can be a key.
----
Server IP: 72.52.91.14
Probable Submitter: 108.31.213.151
----
Manual Page -- http://php.net/manual/en/function.array-search.php
Edit -- https://master.php.net/note/edit/119453
Del: integrated -- https://master.php.net/note/delete/119453/integrated
Del: useless -- https://master.php.net/note/delete/119453/useless
Del: bad code -- https://master.php.net/note/delete/119453/bad+code
Del: spam -- https://master.php.net/note/delete/119453/spam
Del: non-english -- https://master.php.net/note/delete/119453/non-english
Del: in docs -- https://master.php.net/note/delete/119453/in+docs
Del: other reasons-- https://master.php.net/note/delete/119453
Reject -- https://master.php.net/note/reject/119453
Search -- https://master.php.net/manage/user-notes.php