3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo substr('0000-00-00 00:00:00', 0, 10);
Output for 4.3.0 - 7.1.0
0000-00-00