run code in 150+ php & hhvm versions
Bugs & Features
<?php $i=10; if(gettype($i)=="integer"); echo"$i is integer"; ?> <?php $i=jyo; if(is_integer($i)) echo("$i is an integer"); if(is_string($i)) echo("$i is an string"); if(is_double($i)) echo("$i is a double"); ?>
based on CKglS
Output for 4.3.0 - 5.6.21, hhvm-3.12.0, 7.0.0 - 7.1.0RC4
10 is integer Notice: Use of undefined constant jyo - assumed 'jyo' in /in/EKng5 on line 7 jyo is an string
Output for hhvm-3.10.0

Process exited with code 153.