Vérifier si une variable est de type ‘int’ October 8, 2012 Author: user {filelink=15066} <?php $a = 255; echo "est_int($a) = " . (is_int($a) ? "oui" : "non") . " "; $a = '255'; echo "est_int($a) = " . (is_int($a) ? "oui" : "non") . " "; ?> Categories: Uncategorized