3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = 10; $format = "%.2f"; printf($format,$var); //echo $s;
based on r9W8B
Output for 5.6.0 - 7.3.0alpha1
10.00