3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(gettype(6)); var_dump(gettype(6.0)); var_dump(gettype(0x06));
based on pUcgE
Output for 4.3.0 - 7.2.0
string(7) "integer" string(6) "double" string(7) "integer"