3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = 0.1; $y = 0.6; printf("%.16G", ($x + $y) * 10);
based on IF6jm
Output for 5.2.1 - 7.2.0
7
Output for 4.3.0 - 5.2.0