3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $f = 1234567890000000.0; $s = (string)$f; var_dump($f, $s, $f == $s);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
float(1.23456789E+15) string(14) "1.23456789E+15" bool(true)