3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $datetime1 = new DateTime(); $datetime2 = new DateTime('2008-9-13'); $interval = $datetime2->diff($datetime1); echo $interval->format('%Y.%d'); for($i=0;$i<$interval->format('%Y.%d');$i++){ $cnt=$i+1; $newExpDate = $datetime2->add("P1Y"); echo " ".$newExpDate; }
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.26, 5.6.28, 7.0.14 - 7.1.0
05.12 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 7.0.5 - 7.0.6
07.20 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 7.0.4
07.26 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 7.0.3
07.5 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.5.27, 7.0.2
07.8 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 7.0.1
07.10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 7.0.0
07.13 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.5.30, 5.6.21
07.18 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.6.20
07.27 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.6.19
07.23 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.6.13, 5.6.18
07.1 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.4.44 - 5.4.45, 5.6.12, 5.6.17
07.6 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.6.9, 5.6.16
07.14 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.5.25, 5.6.15
07.15 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.6.14
07.19 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.5.35, 5.6.11
07.9 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.6.7, 5.6.10
07.11 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.6.8
07.16 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.5.34
07.28 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.5.33
07.24 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.5.29, 5.5.32
07.3 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.5.28, 5.5.31
07.7 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.5.26
07.12 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.5.24
07.17 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.4.41 - 5.4.43
06.29 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.4.39 - 5.4.40
06.2 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.4.38
06.17 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.4.34 - 5.4.37
06.26 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.3.29, 5.4.27 - 5.4.32
05.26 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10 Warning: DateTime::add() expects parameter 1 to be DateInterval, string given in /in/7QcmD on line 10
Output for 5.2.0 - 5.2.17
Fatal error: Call to undefined method DateTime::diff() in /in/7QcmD on line 4
Process exited with code 255.
Output for 5.0.0 - 5.1.6
Fatal error: Class 'DateTime' not found in /in/7QcmD on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: datetime in /in/7QcmD 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/7QcmD on line 2