DateTime Object
(
[date] => 2012-12-12 00:00:00.000000
[timezone_type] => 3
[timezone] => Europe/Amsterdam
)
0
100
Fatal error: Uncaught TypeError: DateTime::add(): Argument #1 ($interval) must be of type DateInterval, int given in /in/PCBXN:8
Stack trace:
#0 /in/PCBXN(8): DateTime->add(1)
#1 {main}
thrown in /in/PCBXN on line 8
Process exited with code 255.
Output for 8.0.13
DateTime Object
(
[date] => 2012-12-12 00:00:00.000000
[timezone_type] => 3
[timezone] => UTC
)
0
100
Fatal error: Uncaught TypeError: DateTime::add(): Argument #1 ($interval) must be of type DateInterval, int given in /in/PCBXN:8
Stack trace:
#0 /in/PCBXN(8): DateTime->add(1)
#1 {main}
thrown in /in/PCBXN on line 8
Process exited with code 255.
DateTime Object
(
[date] => 2012-12-12 00:00:00.000000
[timezone_type] => 3
[timezone] => Europe/Amsterdam
)
0
100
Warning: DateTime::add() expects parameter 1 to be DateInterval, int given in /in/PCBXN on line 8
Output for 7.3.32 - 7.3.33, 7.4.26
DateTime Object
(
[date] => 2012-12-12 00:00:00.000000
[timezone_type] => 3
[timezone] => UTC
)
0
100
Warning: DateTime::add() expects parameter 1 to be DateInterval, int given in /in/PCBXN on line 8