3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo 'invoice/'.sprintf('%03d', substr(60, -3)).'/60/';
Output for 4.3.0 - 5.2.1, 5.2.7 - 7.2.0
invoice/060/60/
Output for 5.2.2 - 5.2.6
invoice/000/60/