3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(sprintf('%.99f', 1.0));
based on 0rQ3L
Output for 5.3.4 - 5.6.28, 7.0.0 - 7.1.0
Notice: sprintf(): Requested precision of 99 digits was truncated to PHP maximum of 53 digits in /in/tJk00 on line 3 string(55) "1.00000000000000000000000000000000000000000000000000000"
Output for 4.3.0 - 5.2.8, hhvm-3.10.0 - 3.12.0
string(42) "1.0000000000000000000000000000000000000000"
Output for 5.2.9 - 5.3.3
Notice: sprintf(): Requested precision of 99 digits was truncated to PHP maximum of 40 digits in /in/tJk00 on line 3 string(42) "1.0000000000000000000000000000000000000000"