Source Code:
(back to article)
<?php $x = 5; if (is_integer($x)) { echo "x is an integer"; } else { echo "x is not an integer"; }
Result:
Report an issue