<?php $int = "string"; if(!filter_var($int, FILTER_VALIDATE_INT)) { echo("Integer is not valid"); } else { echo("Integer is valid"); } ?>
You have javascript disabled. You will not be able to edit any code.