3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('Y') . str_pad(03, 5, 0, STR_PAD_LEFT); echo date('Y') . str_pad(13, 5, 0, STR_PAD_LEFT); echo date('Y') . str_pad(133, 5, 0, STR_PAD_LEFT); echo date('Y') . str_pad(1223, 5, 0, STR_PAD_LEFT); echo date('Y') . str_pad(22213, 5, 0, STR_PAD_LEFT);
based on XSRA3
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
201400003201400013201400133201401223201422213