In_array
| Définition : | Recherche une valeur spécifique dans un tableau. |
| Exemple : |
<?php
$colors = array("Blue", "Orange", "Red");
if (in_array("Red", $colors)) { echo "Red was found"; ?>
|
| Résultat : | Red was found |
| 20 fonctions |