Source Code:
(back to article)
<?php $var1 = 42; $var2 = "hello"; echo is_int($var1) . "\n"; // output: 1 (true) echo is_int($var2) . "\n"; // output: (false) ?>
Result:
Report an issue