3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = 9007199254740992.0; echo ($x + 0)."\n"; echo ($x + 1)."\n"; echo ($x + 2)."\n"; echo ($x + 3)."\n";
based on JEqlc
Output for 4.3.0 - 5.2.1, 5.2.7 - 7.2.0
9.007199254741E+15 9.007199254741E+15 9.007199254741E+15 9.007199254741E+15
Output for 5.2.2 - 5.2.6
9007199254741000 9007199254741000 9007199254741000 9007199254741000