3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date('d/m/Y', strtotime('-3 week')); $date = new Datetime('07/23/2013');
Output for 5.2.0 - 7.2.0
02/09/2013
Output for 5.0.0 - 5.1.6
02/09/2013 Fatal error: Class 'Datetime' not found in /in/GCRQk on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.9
02/09/2013 Fatal error: Cannot instantiate non-existent class: datetime in /in/GCRQk on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
02/09/2013 Fatal error: Cannot instantiate non-existent class: datetime in /in/GCRQk on line 4