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