3v4l.org

run code in 200+ 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 - 7.2.0
96.3 is a integer96.3 is double96.3 is string