note 77970 added to function.array-search
| From: | zwijntje82 at hotmail dot com | Date: | Fri, 21 Sep 2007 19:39:41 +0000 |
| Subject: | note 77970 added to function.array-search | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-130678@lists.php.net to get a copy of this message | ||
use 3x === if you want to kill doubles in an array.
others will not work
if(array_search($twee[0],$y)===false){
echo $twee[0].array_search($twee[0],$y).'<br>';
}
----
Server IP: 85.12.26.134
Probable Submitter: 83.83.181.219
----
Manual Page -- http://www.php.net/manual/en/function.array-search.php
Edit -- https://master.php.net/note/edit/77970
Del: integrated -- https://master.php.net/note/delete/77970/integrated
Del: useless -- https://master.php.net/note/delete/77970/useless
Del: bad code -- https://master.php.net/note/delete/77970/bad+code
Del: spam -- https://master.php.net/note/delete/77970/spam
Del: non-english -- https://master.php.net/note/delete/77970/non-english
Del: in docs -- https://master.php.net/note/delete/77970/in+docs
Del: other reasons-- https://master.php.net/note/delete/77970
Reject -- https://master.php.net/note/reject/77970
Search -- https://master.php.net/manage/user-notes.php