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 <= $endYesterday);
based on kmbgV
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'DateTome' not found in /in/bd5Gj:8 Stack trace: #0 {main} thrown in /in/bd5Gj on line 8
Process exited with code 255.
Output for 5.3.18 - 5.6.21
Fatal error: Class 'DateTome' not found in /in/bd5Gj on line 8
Process exited with code 255.