3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php printf("%.2d\n", 42); printf("%1.2f\n", 42); printf("%1.2u\n", 42);
Output for 4.3.0 - 7.2.0
42 42.00 42