bool(false)
bool(true)
Fatal error: Uncaught TypeError: Unsupported operand types: DateTime - DateTime in /in/Kb3T9:9
Stack trace:
#0 {main}
thrown in /in/Kb3T9 on line 9
Process exited with code 255.
Output for 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
bool(false)
bool(true)
Notice: Object of class DateTime could not be converted to number in /in/Kb3T9 on line 9
Notice: Object of class DateTime could not be converted to number in /in/Kb3T9 on line 9
0
Output for 7.3.32 - 7.3.33
bool(false)
bool(true)
0
Output for 5.6.28, 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33
bool(false)
bool(true)
Notice: Object of class DateTime could not be converted to int in /in/Kb3T9 on line 9
Notice: Object of class DateTime could not be converted to int in /in/Kb3T9 on line 9
0
bool(true)
bool(true)
Notice: Object of class DateTime could not be converted to int in /in/Kb3T9 on line 9
Notice: Object of class DateTime could not be converted to int in /in/Kb3T9 on line 9
0