3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if('12/10/2000' < '10/10/2000') echo 'true'; else echo 'false'; $data = DateTime('dd/mm/yy'); print_r($data);
Output for 7.0.0 - 7.1.0
false Fatal error: Uncaught Error: Call to undefined function DateTime() in /in/pmbPX:4 Stack trace: #0 {main} thrown in /in/pmbPX on line 4
Process exited with code 255.
Output for 5.0.0 - 5.6.28
false Fatal error: Call to undefined function DateTime() in /in/pmbPX on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
false Fatal error: Call to undefined function: datetime() in /in/pmbPX on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
false Fatal error: Call to undefined function: datetime() in /in/pmbPX on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
false Fatal error: Call to undefined function: datetime() in /in/pmbPX on line 4