Result Size: 625 x 571
x
 
<!DOCTYPE html>
<html>
<body>
<?php
$int = 100;
if (!filter_var($int, FILTER_VALIDATE_INT) === false) {
    echo("Integer is valid");
} else {
    echo("Integer is not valid");
}
?>
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_filter3 by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:29:33 GMT -->
</html>
×

Report a Problem: