3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo substr('2016-02-22',0,8);
Output for 5.5.0 - 7.3.0rc4
2016-02-