3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo 34324; //echo date('d.m.Y', ''); echo date("Y-m-d",'2013-07-31'); $date = date_create('2000-01-01'); echo date_format($date, 'Y-m-d H:i:s');
Output for 5.2.0 - 7.1.0
34324 Notice: A non well formed numeric value encountered in /in/4E2SX on line 6 1970-01-012000-01-01 00:00:00
Output for 5.1.0 - 5.1.6
34324 Notice: A non well formed numeric value encountered in /in/4E2SX on line 6 1970-01-01 Fatal error: Call to undefined function date_create() in /in/4E2SX on line 8
Process exited with code 255.
Output for 5.0.0 - 5.0.5
343241970-01-01 Fatal error: Call to undefined function date_create() in /in/4E2SX on line 8
Process exited with code 255.
Output for 4.4.5 - 4.4.9
343241970-01-01 Fatal error: Call to undefined function: date_create() in /in/4E2SX on line 8
Process exited with code 255.
Output for 4.3.2 - 4.4.4
343241970-01-01 Fatal error: Call to undefined function: date_create() in /in/4E2SX on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1
343241970-01-01 Fatal error: Call to undefined function: date_create() in /in/4E2SX on line 8