da mal di testaCodice PHP:
$os = array(0);
if (in_array("Irix", $os)) {
echo "Got Irix senza strict mode ";
}
if (in_array("Irix", $os,true)) {
echo "Got Irix";
}
![]()
tenete sempre presente
http://it.php.net/manual/en/function.in-array.php#86695
![]()
da mal di testaCodice PHP:
$os = array(0);
if (in_array("Irix", $os)) {
echo "Got Irix senza strict mode ";
}
if (in_array("Irix", $os,true)) {
echo "Got Irix";
}
![]()
tenete sempre presente
http://it.php.net/manual/en/function.in-array.php#86695
![]()
Without faith, nothing is possible. With it, nothing is impossible
http://ilwebdifabio.it
Viva il Type Juggling ... un bug basato su quel comportamento può portare alla pazzia ...