3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $val = 123456699999876528; $float = $val / 100; var_dump($val); var_dump($float); var_dump(sprintf('%f', $float));
Output for 5.2.7 - 7.2.0
int(123456699999876528) float(1.2345669999988E+15) string(23) "1234566999998765.250000"
Output for 4.3.0 - 5.2.6
int(123456699999876528) float(1234566999998800) string(23) "1234566999998765.250000"