Deprecated: Return type of MyDateTime::add($interval) should either be compatible with DateTime::add(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/7UYth on line 4
Deprecated: Return type of MyDateTime::sub($interval) should either be compatible with DateTime::sub(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/7UYth on line 18
object(MyDateTime)#1 (3) {
["date"]=>
string(26) "2013-02-28 00:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/7UYth on line 2
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/7UYth on line 34
Fatal error: Class 'DateInterval' not found in /in/7UYth on line 34
Process exited with code 255.
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/7UYth on line 2
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/7UYth on line 34
Fatal error: Class 'DateTime' not found in /in/7UYth on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/7UYth on line 2
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/7UYth on line 4
Process exited with code 255.
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/7UYth on line 2
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/7UYth on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/7UYth on line 2
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/7UYth on line 4
Process exited with code 255.