PHP Program to demonstrate Integer datatype

Program

<!DOCTYPE html>
<html>
<body>
<?php  
$num = 1024;
echo "<p>Printing datatype using echo</p>";
var_dump($num);
print "<p>Printing value using print</p>" . $num;
?>
</body>
</html>

Output

Printing datatype using echo
int(1024)
Printing value using print
1024