3v4l.org

run code in 300+ PHP versions simultaneously
<?php class BusinessDaysCalculator { const MONDAY = 1; const TUESDAY = 2; const WEDNESDAY = 3; const THURSDAY = 4; const FRIDAY = 5; const SATURDAY = 6; const SUNDAY = 7; /** * @param DateTime $startDate Date to start calculations from * @param DateTime[] $holidays Array of holidays, holidays are no conisdered business days. * @param int[] $nonBusinessDays Array of days of the week which are not business days. */ public function __construct(DateTime $startDate, array $holidays, array $nonBusinessDays) { $this->date = $startDate; $this->holidays = $holidays; $this->nonBusinessDays = $nonBusinessDays; } public function addBusinessDays($howManyDays) { $i = 0; while ($i < $howManyDays) { $this->date->modify("+1 day"); if ($this->isBusinessDay($this->date)) { $i++; } } } public function getDate() { return $this->date; } private function isBusinessDay(DateTime $date) { if (in_array((int)$date->format('N'), $this->nonBusinessDays)) { return false; //Date is a nonBusinessDay. } foreach ($this->holidays as $day) { if ($date->format('d-m-Y') == $day->format('d-m-Y')) { return false; //Date is a holiday. } } return true; //Date is a business day. } } $calculator = new BusinessDaysCalculator( new DateTime(), // Today [new DateTime("01-06-2014"), new DateTime("02-06-2014")], [BusinessDaysCalculator::SATURDAY, BusinessDaysCalculator::FRIDAY] ); $calculator->addBusinessDays(4); // Add three business days var_dump($calculator->getDate());
Output for 8.3.6
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.007328" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.010010" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.3.4
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.007652" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.3.3
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.006955" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.3.2
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003812" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.3.1
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003719" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.3.0
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.004192" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.18
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.010390" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.17
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.006928" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.16
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.006656" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.15
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003746" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.14
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003871" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.13
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003625" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.12
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.004052" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.11
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.004266" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.10
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.005449" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.9
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003911" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.8
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003921" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.7
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003887" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.6
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.004196" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.5
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.004043" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.4
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003797" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.3
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003825" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.2
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003691" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.1
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003818" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.0
Deprecated: Creation of dynamic property BusinessDaysCalculator::$date is deprecated in /in/ZAL14 on line 19 Deprecated: Creation of dynamic property BusinessDaysCalculator::$holidays is deprecated in /in/ZAL14 on line 20 Deprecated: Creation of dynamic property BusinessDaysCalculator::$nonBusinessDays is deprecated in /in/ZAL14 on line 21 object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003750" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.007065" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003723" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003684" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003734" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.004057" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.005050" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.22
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003800" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003842" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.012133" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.004116" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.004319" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.006350" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003509" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003861" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003492" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003520" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.005229" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.004266" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.004307" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003837" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003629" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003453" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003669" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003948" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003702" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003718" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003662" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003942" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.004017" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003521" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003504" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003598" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003380" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003382" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.14, 8.0.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003408" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003769" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003383" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.22
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003264" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003974" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003701" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003910" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003530" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003423" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.005120" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003671" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 20:01:10.002148" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 8.0.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003525" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003785" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003584" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003462" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.008056" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003393" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003881" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003731" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.009139" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.009008" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003675" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.011535" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.33
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.002540" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003041" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003649" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.005806" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003463" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003303" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 20:01:10.002443" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.4.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003491" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003297" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003338" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.22
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.012541" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.007727" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003288" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.009388" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.009928" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.008440" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.012168" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.009239" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.008820" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.011850" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.008831" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.008448" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.008462" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.000430" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.002492" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.008600" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.008613" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.000220" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.33
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 20:01:10.002478" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.3.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 20:01:10.002192" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.3.31
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003325" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003665" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.039007" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.011166" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.009168" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.009781" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.012026" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.010960" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.011178" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.009614" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.011900" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.18 - 7.3.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.008904" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.008624" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.008640" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.057148" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.036191" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.33
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.008585" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.011373" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.31
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.008958" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.011684" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.014598" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.063257" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.030651" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.095981" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.146493" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.100897" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.125018" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.151374" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.106750" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.361751" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.088437" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.233959" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.065713" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.086451" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.024116" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.049715" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003945" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.003805" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.034796" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.029204" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.026043" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.0.0 - 7.0.20, 7.1.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.023740" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.016681" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2017-07-05 22:01:10.008393" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }

preferences:
197.53 ms | 401 KiB | 187 Q