3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('r', strtotime('April 29, 2014')); echo PHP_EOL; echo date('r', strtotime('April 29 2014'));
Output for 4.3.10 - 4.4.9, 5.0.2 - 7.1.0
Tue, 29 Apr 2014 00:00:00 +0200 Tue, 29 Apr 2014 00:00:00 +0200
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
Tue, 29 Apr 2014 00:00:00 +0200 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/s8FIU on line 4 PHP_EOLTue, 29 Apr 2014 00:00:00 +0200