3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('Y-m-d',$tm=strtotime("February")),PHP_EOL,$tm;
Output for 5.2.0 - 7.1.0
2014-03-03 1393801200
Output for 5.1.0 - 5.1.6
1970-01-01
Output for 4.3.10 - 4.4.9, 5.0.2 - 5.0.5
1970-01-01 -1
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
1970-01-01 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/8hXJp on line 2 PHP_EOL-1