3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('r', strtotime('29 April, 2014')); echo PHP_EOL; echo date('r', strtotime('29 April 2014'));
Output for 5.1.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Mon, 29 Apr 2013 20:14:00 +0200 Tue, 29 Apr 2014 00:00:00 +0200
Output for 5.1.0 - 5.1.2
Tue, 29 Apr 2014 00:00:00 +0200 Tue, 29 Apr 2014 00:00:00 +0200
Output for 4.3.11 - 4.4.9, 5.0.4 - 5.0.5
Thu, 01 Jan 1970 00:59:59 +0100 Tue, 29 Apr 2014 00:00:00 +0200
Output for 4.3.10, 5.0.2 - 5.0.3
Thu, 1 Jan 1970 00:59:59 +0100 Tue, 29 Apr 2014 00:00:00 +0200
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
Thu, 1 Jan 1970 00:59:59 +0100 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/mmY43 on line 4 PHP_EOLTue, 29 Apr 2014 00:00:00 +0200