3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $start = new \DateTime('01.10.2015'); $end = new \DateTime('08.10.2015'); $endYesterday = new \DateTime('07.10.2015'); $today = new \DateTome(); var_dump($today >= $start && $today <= $end); var_dump($today >= $start && $today <= $end);
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'DateTome' not found in /in/kmbgV:8 Stack trace: #0 {main} thrown in /in/kmbgV on line 8
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Fatal error: Class 'DateTome' not found in /in/kmbgV on line 8
Process exited with code 255.