3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = '3.1415962654'; echo sprintf("%01.2f", $var ); ?>
Output for 4.3.0 - 7.1.0
3.14