most used
array_search
en
de
es
fr
pt
description
Searches $haystack for $needle. Returns the key for $needle if it is found in the array, FALSE otherwise.
Durchsucht $haystack nach $needle. Gibt den Schlüssel für $needle zurück, wenn es gefunden wurde, ansonsten FALSE.
Busca en el $haystack (pajar) por la $needle (aguja). Devuelve la clave de la $needle si se encuentra en el array, o FALSE de lo contrario.
Recherche $needle dans $haystack. Retourne la clé pour $needle si elle est trouvée dans le tableau, FALSE sinon.
Procura em $haystack por $needle. Retorna a chave para $needle se foi encontrada no array, FALSE caso contrário.
declaration of array_search
mixed array_search ( mixed $needle , array $haystack [, bool $strict ] )