3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('Y') . str_pad(03, 6, 0, STR_PAD_LEFT);echo "/n"; echo date('Y') . str_pad(13, 6, 0, STR_PAD_LEFT);echo "/n>"; echo date('Y') . str_pad(133, 6, 0, STR_PAD_LEFT);echo "/n"; echo date('Y') . str_pad(1223, 6, 0, STR_PAD_LEFT);echo "/n"; echo date('Y') . str_pad(22213, 6, 0, STR_PAD_LEFT);echo "/n"; echo date('Y') . str_pad(232213, 6, 0, STR_PAD_LEFT);
based on 2PRtU
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
2014000003/n2014000013/n>2014000133/n2014001223/n2014022213/n2014232213