3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = vsprintf("%04d-%02d-%02d", explode('-', '1988-8-1')); // 1988-08-01
based on VpPQt
Output for 5.6.38 - 7.3.0rc3