3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php printf('%60.65f', round(4.05, 1) - 4.05);
Output for 5.3.4 - 5.6.28, 7.0.0 - 7.1.0
Notice: printf(): Requested precision of 65 digits was truncated to PHP maximum of 53 digits in /in/O3NbG on line 3 0.04999999999999982236431605997495353221893310546875000
Output for 4.3.9 - 4.4.9, 5.0.1 - 5.2.8, hhvm-3.10.0 - 3.12.0
0.0499999999999998223643160599749535322189
Output for 5.2.9 - 5.3.3
Notice: printf(): Requested precision of 65 digits was truncated to PHP maximum of 40 digits in /in/O3NbG on line 3 0.0499999999999998223643160599749535322189
Output for 4.3.0 - 4.3.8, 5.0.0
0.0499999999999998223643160599749535322189