3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php printf('%60.65f', 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/NM9QL on line 3 4.04999999999999982236431605997495353221893310546875000
Output for 4.3.7 - 5.2.8, hhvm-3.10.0 - 3.12.0
4.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/NM9QL on line 3 4.0499999999999998223643160599749535322189
Output for 4.3.0 - 4.3.6
4.0499999999999998223643160599749535322189