3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
invoice/060/60/
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.2.2 - 5.2.6
invoice/000/60/