3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i=96.3; if(gettype($i)=="double"); ?> <?php $i=96.3; if(is_integer($i)); echo("$i is a integer"); if(is_double($i)); echo("$i is double"); if (is_string($i)); echo("$i is string"); ?>
based on N53DJ
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
96.3 is a integer96.3 is double96.3 is string
Output for hhvm-3.10.0

Process exited with code 153.