3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $startBookTime = new DateTime(); echo $startBookTime->format('H:m').'<br/>' ; var_dump($startBookTime->format('U') < (new DateTime()-setTime(18,5))->format('U') );
based on vdQOZ
Output for 7.0.20 - 7.2.0
18:01<br/> Fatal error: Uncaught Error: Call to undefined function setTime() in /in/Abbuo:4 Stack trace: #0 {main} thrown in /in/Abbuo on line 4
Process exited with code 255.
Output for 7.0.6
13:05<br/> Fatal error: Uncaught Error: Call to undefined function setTime() in /in/Abbuo:4 Stack trace: #0 {main} thrown in /in/Abbuo on line 4
Process exited with code 255.
Output for 7.0.5
09:04<br/> Fatal error: Uncaught Error: Call to undefined function setTime() in /in/Abbuo:4 Stack trace: #0 {main} thrown in /in/Abbuo on line 4
Process exited with code 255.
Output for 7.0.4
21:03<br/> Fatal error: Uncaught Error: Call to undefined function setTime() in /in/Abbuo:4 Stack trace: #0 {main} thrown in /in/Abbuo on line 4
Process exited with code 255.
Output for 7.0.3
23:03<br/> Fatal error: Uncaught Error: Call to undefined function setTime() in /in/Abbuo:4 Stack trace: #0 {main} thrown in /in/Abbuo on line 4
Process exited with code 255.
Output for 7.0.2
05:03<br/> Fatal error: Uncaught Error: Call to undefined function setTime() in /in/Abbuo:4 Stack trace: #0 {main} thrown in /in/Abbuo on line 4
Process exited with code 255.
Output for 7.0.1
08:03<br/> Fatal error: Uncaught Error: Call to undefined function setTime() in /in/Abbuo:4 Stack trace: #0 {main} thrown in /in/Abbuo on line 4
Process exited with code 255.
Output for 7.0.0
10:03<br/> Fatal error: Uncaught Error: Call to undefined function setTime() in /in/Abbuo:4 Stack trace: #0 {main} thrown in /in/Abbuo on line 4
Process exited with code 255.
Output for 5.4.11 - 5.6.28
Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR) in /in/Abbuo on line 4
Process exited with code 255.
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/Abbuo on line 4
Process exited with code 255.