3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $time = strtotime("04/01/2016"); $date = new Date("04/01/2016"); echo $time; echo $date;
based on 5tRmT
Output for 7.0.0 - 7.3.0beta1
Fatal error: Uncaught Error: Class 'Date' not found in /in/I6aFL:3 Stack trace: #0 {main} thrown in /in/I6aFL on line 3
Process exited with code 255.
Output for 5.5.0 - 5.6.28
Fatal error: Class 'Date' not found in /in/I6aFL on line 3
Process exited with code 255.