3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = new DateTime(); $dates[] = $now; $dates[] = $now->add('P1D'); var_dump($dates);
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Fatal error: Uncaught TypeError: DateTime::add(): Argument #1 ($interval) must be of type DateInterval, string given in /in/Dc470:4 Stack trace: #0 /in/Dc470(4): DateTime->add('P1D') #1 {main} thrown in /in/Dc470 on line 4
Process exited with code 255.
Output for 7.4.33
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.002107" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.32
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.003395" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.30
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.002860" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.29
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.003180" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.28
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.003562" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.27
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.003078" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.26
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.003526" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.25
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.003543" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.24
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.003511" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.23
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.003207" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.22
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.011548" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.21
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.008441" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.20
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.003607" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.16
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.009539" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.15
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.009290" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.14
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.014308" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.13
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.008284" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.12
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.008212" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.11
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.008155" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.10
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.009084" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.9
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.008564" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.8
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.020866" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.7
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.008440" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.6
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000350" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.5
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.001008" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.4
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.010823" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.4.3
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.008513" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.10, 7.4.0
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000130" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.3.33
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 08:09:55.002860" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } [1]=> bool(false) }
Output for 7.3.32
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 08:09:55.001907" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } [1]=> bool(false) }
Output for 7.3.31
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.003620" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.3.30
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.003181" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.3.29
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.007414" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.3.28
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.007791" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.3.27
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.008410" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.3.26
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.008720" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.3.25
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.008570" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.3.24
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.009484" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.3.23
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.013596" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.3.21
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.011814" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.3.20
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.012649" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.3.19
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.008765" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.3.18
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.004827" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.3.17
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.011363" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.3.16
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.007953" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.3.1
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000096" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.3.0
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000121" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.2.33
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.010751" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.2.32
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.011312" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.2.31
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.011564" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.2.30
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.008582" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.2.29
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.008304" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.2.13
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000140" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.2.12
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000125" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.2.11
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000114" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.2.10
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000200" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.2.9
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000101" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.5, 7.2.8
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000109" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.2, 7.2.6 - 7.2.7
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000091" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.2.5
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000093" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.2.4
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000159" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.2.3
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000152" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.2.2
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000106" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.2.1
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000099" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.14, 7.2.0
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000128" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.25
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000107" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.24
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.016742" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.23
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.036246" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.22
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.005685" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.21
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.048532" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.20
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.016610" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.19
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.117651" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.18
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.108135" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.17
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.104155" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.16
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.016847" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.15
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.014018" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.13
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000088" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.6, 7.1.12
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000095" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.11
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000120" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.9
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000116" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.8
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000087" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.7
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000082" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.4
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.005820" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 5.4.30 - 5.4.45, 5.5.14 - 5.5.22, 5.5.24 - 5.5.38, 5.6.0 - 5.6.38, 7.0.0 - 7.0.33, 7.1.3
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.1
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.012544" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 7.1.0
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:55.020613" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 5.5.23
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-14 10:09:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 5.3.0 - 5.3.15, 5.3.17 - 5.3.29, 5.4.0 - 5.4.5, 5.4.7 - 5.4.29, 5.5.0 - 5.5.13
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2014-08-14 10:09:55" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 5.3.16, 5.4.6
Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/Dc470 on line 4 array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2014-08-14 10:09:56" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> bool(false) }
Output for 5.2.0 - 5.2.17
Fatal error: Call to undefined method DateTime::add() in /in/Dc470 on line 4
Process exited with code 255.
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
Fatal error: Class 'DateTime' not found in /in/Dc470 on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9
Fatal error: Cannot instantiate non-existent class: datetime in /in/Dc470 on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: datetime in /in/Dc470 on line 2

preferences:
321.24 ms | 401 KiB | 423 Q