|
||||||||||
|
|
array_search(PHP 4 >= 4.0.5, PHP 5) array_search -- Durchsucht ein Array nach einem Wert liefert bei Erfolg den SchlüsselBeschreibungmixed array_search ( mixed needle, array haystack [, bool strict])Diese Funktion durchsucht haystack nach needle und gibt bei Erfolg den Schlüssel zurück, andernfalls FALSE.
Ist der optionale dritte Parameter strict auf TRUE gesetzt, prüft array_search() auch die Typen von needle in haystack.
Siehe auch array_keys() und in_array().
| |||||||||
|
|
|
Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account Document on this page is part of "PHP Handbuch". See Index Page for more info about Authorship and Copyright. 1999-2009 Linuxinfor.com. No rights reserved. |