3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('Y-m-d', strtotime("07/02/2014")), PHP_EOL, date('Y-m-d', strtotime("13/02/2014"));
Output for 5.1.0 - 7.1.0
2014-07-02 1970-01-01
Output for 4.3.10 - 4.4.9, 5.0.2 - 5.0.5
2014-07-02 2015-01-02
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
2014-07-02 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/uYIAu on line 3 PHP_EOL2015-01-02