3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $monDate = new MongoDate(strtotime("2009-05-01 00:00:01")); var_dump($monDate);
based on 3cEJf
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'MongoDate' not found in /in/EaU5O:3 Stack trace: #0 {main} thrown in /in/EaU5O on line 3
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Fatal error: Class 'MongoDate' not found in /in/EaU5O on line 3
Process exited with code 255.