Integer:-integer holds numeric value.
Is_int, is_integer, this function use to check weather the input variable is integer are not.
Convert a variable into an integer data type.
<?php
$sn=”100”;
$sn=intval($sn);
Echo is_int($sn);
?>
Output: 1
Is_int, is_integer, this function use to check weather the input variable is integer are not.
Convert a variable into an integer data type.
<?php
$sn=”100”;
$sn=intval($sn);
Echo is_int($sn);
?>
Output: 1