3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = '5:00 - 6:00'; echo sprintf('%2d:%2d', $input);
Output for 4.3.2 - 7.2.6
Warning: sprintf(): Too few arguments in /in/2F4eC on line 4
Output for 4.3.0 - 4.3.1
Warning: sprintf() [http://www.php.net/function.sprintf]: Too few arguments in /in/2F4eC on line 4