3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo 'credit/'.sprintf('%03d', substr(2, -3)).'/2/'.'2014-02-20'.'_'.'ES-003083'.'_'.substr(md5('ES-003083'), 0, 5).'.pdf';
Output for 4.3.0 - 5.2.1, 5.2.7 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
credit/002/2/2014-02-20_ES-003083_f7894.pdf
Output for 5.2.2 - 5.2.6
credit/000/2/2014-02-20_ES-003083_f7894.pdf