Manual PHP Înapoi Înainte in_array Description Notã: Notã: Exemplu 1. in_array() example Exemplu 2. in_array() with strict example Exemplu 3. in_array() with an array as needle ?php $a = array( array('p', 'h'), array('p', 'r'), 'o'); if (in_array(array ('p', 'h'), $a)) echo "'ph 'is found\n"; if (in_array(array ('f', 'i'), $a)) echo "'fi' is not found\n"; if (in_array('o', $a)) echo "'o 'is found\n";? / / This will output: 'ph' is found 'o 'is found Înapoi Acasã Înainte Sus