3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new DateTimeImmutable(); $daySchedule = [ 'from' => '14:00+03:00', 'till' => '21:00+03:00', ]; $from = explode(':', substr($daySchedule['from'], 0, 5)); $till = explode(':', substr($daySchedule['till'], 0, 5)); $fromTz = new \DateTimeZone(substr($daySchedule['from'], 5)); $tillTz = new \DateTimeZone(substr($daySchedule['till'], 5)); $b = $a->setTime($from[0], $from[1]); var_dump($a->getTimestamp()); var_dump($b->getTimestamp()); $b = $b->setTimezone($fromTz); var_dump($a->getTimestamp()); var_dump($b->getTimestamp()); var_dump($a > $b, $a, $b); var_dump($a->getTimestamp()); var_dump($b->getTimestamp()); var_dump($a > $b, $a, $b);
Output for 7.2.0
int(1452860477) int(1452862800) int(1452860477) int(1452862800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 13:21:17.005402" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1452860477) int(1452862800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 13:21:17.005402" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.1.10
int(1452860477) int(1452862800) int(1452860477) int(1452862800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 13:21:17.003276" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1452860477) int(1452862800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 13:21:17.003276" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.1.7
int(1452860477) int(1452862800) int(1452860477) int(1452862800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 13:21:17.003353" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1452860477) int(1452862800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 13:21:17.003353" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.1.6
int(1452860477) int(1452862800) int(1452860477) int(1452862800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 13:21:17.012745" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1452860477) int(1452862800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 13:21:17.012745" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.1.5
int(1452860477) int(1452862800) int(1452860477) int(1452862800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 13:21:17.011205" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1452860477) int(1452862800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 13:21:17.011205" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.1.0
int(1452860477) int(1452862800) int(1452860477) int(1452862800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 13:21:17.004056" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1452860477) int(1452862800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 13:21:17.004056" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.28, 7.0.20
int(1452860477) int(1452862800) int(1452860477) int(1452862800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 13:21:17.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1452860477) int(1452862800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 13:21:17.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.0.6
int(1463831484) int(1463832000) int(1463831484) int(1463832000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-05-21 13:51:24.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-05-21 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1463831484) int(1463832000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-05-21 13:51:24.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-05-21 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.0.5
int(1459669718) int(1459684800) int(1459669718) int(1459684800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-03 09:48:38.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-03 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1459669718) int(1459684800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-03 09:48:38.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-03 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.0.4
int(1457643365) int(1457614800) int(1457643365) int(1457614800) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-10 21:56:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-10 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1457643365) int(1457614800) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-10 21:56:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-10 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.0.3
int(1458339830) int(1458306000) int(1458339830) int(1458306000) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-18 23:23:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-18 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1458339830) int(1458306000) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-18 23:23:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-18 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.0.2
int(1458707866) int(1458738000) int(1458707866) int(1458738000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-23 05:37:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-23 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1458707866) int(1458738000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-23 05:37:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-23 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.0.1
int(1458805248) int(1458824400) int(1458805248) int(1458824400) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-24 08:40:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-24 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1458805248) int(1458824400) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-24 08:40:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-24 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.0.0
int(1459067627) int(1459080000) int(1459067627) int(1459080000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-27 10:33:47.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-27 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1459067627) int(1459080000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-27 10:33:47.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-27 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.21
int(1462200180) int(1462190400) int(1462200180) int(1462190400) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-05-02 16:43:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-05-02 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1462200180) int(1462190400) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-05-02 16:43:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-05-02 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.20
int(1460271059) int(1460289600) int(1460271059) int(1460289600) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-10 08:50:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-10 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1460271059) int(1460289600) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-10 08:50:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-10 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.19
int(1457413551) int(1457442000) int(1457413551) int(1457442000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-08 06:05:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-08 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1457413551) int(1457442000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-08 06:05:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-08 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.18
int(1458050649) int(1458046800) int(1458050649) int(1458046800) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-15 15:04:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-15 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1458050649) int(1458046800) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-15 15:04:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-15 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.17
int(1458437786) int(1458478800) int(1458437786) int(1458478800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-20 02:36:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-20 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1458437786) int(1458478800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-20 02:36:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-20 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.16
int(1459157016) int(1459166400) int(1459157016) int(1459166400) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-28 11:23:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-28 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1459157016) int(1459166400) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-28 11:23:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-28 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.15
int(1459246390) int(1459252800) int(1459246390) int(1459252800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-29 12:13:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-29 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1459246390) int(1459252800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-29 12:13:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-29 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.14
int(1460649336) int(1460635200) int(1460649336) int(1460635200) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-14 17:55:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-14 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1460649336) int(1460635200) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-14 17:55:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-14 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.13
int(1460738078) int(1460721600) int(1460738078) int(1460721600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-15 18:34:38.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-15 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1460738078) int(1460721600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-15 18:34:38.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-15 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.12
int(1461135883) int(1461153600) int(1461135883) int(1461153600) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-20 09:04:43.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-20 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461135883) int(1461153600) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-20 09:04:43.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-20 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.11
int(1461504646) int(1461499200) int(1461504646) int(1461499200) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-24 15:30:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-24 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461504646) int(1461499200) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-24 15:30:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-24 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.10
int(1461598582) int(1461585600) int(1461598582) int(1461585600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-25 17:36:22.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-25 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461598582) int(1461585600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-25 17:36:22.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-25 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.9
int(1461791064) int(1461758400) int(1461791064) int(1461758400) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-27 23:04:24.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-27 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461791064) int(1461758400) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-27 23:04:24.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-27 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.8
int(1461994273) int(1462017600) int(1461994273) int(1462017600) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-30 07:31:13.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-30 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461994273) int(1462017600) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-30 07:31:13.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-30 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.35
int(1463964422) int(1464004800) int(1463964422) int(1464004800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-05-23 02:47:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-05-23 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1463964422) int(1464004800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-05-23 02:47:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-05-23 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.34
int(1460365554) int(1460376000) int(1460365554) int(1460376000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-11 11:05:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-11 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1460365554) int(1460376000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-11 11:05:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-11 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.33
int(1457510700) int(1457528400) int(1457510700) int(1457528400) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-09 09:05:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-09 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1457510700) int(1457528400) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-09 09:05:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-09 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.32
int(1458237744) int(1458219600) int(1458237744) int(1458219600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-17 19:02:24.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-17 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1458237744) int(1458219600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-17 19:02:24.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-17 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.31
int(1458535714) int(1458565200) int(1458535714) int(1458565200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-21 05:48:34.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-21 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1458535714) int(1458565200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-21 05:48:34.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-21 16:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.30
int(1459512276) int(1459512000) int(1459512276) int(1459512000) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-01 14:04:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-01 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1459512276) int(1459512000) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-01 14:04:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-01 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.29
int(1460875936) int(1460894400) int(1460875936) int(1460894400) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-17 08:52:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-17 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1460875936) int(1460894400) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-17 08:52:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-17 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.28
int(1461234260) int(1461240000) int(1461234260) int(1461240000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-21 12:24:20.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-21 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461234260) int(1461240000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-21 12:24:20.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-21 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.27
int(1461326515) int(1461326400) int(1461326515) int(1461326400) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-22 14:01:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-22 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461326515) int(1461326400) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-22 14:01:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-22 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.26
int(1461694682) int(1461672000) int(1461694682) int(1461672000) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-26 20:18:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-26 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461694682) int(1461672000) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-26 20:18:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-26 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.25
int(1461894256) int(1461931200) int(1461894256) int(1461931200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-29 03:44:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-29 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461894256) int(1461931200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-29 03:44:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-29 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.24
int(1464077739) int(1464091200) int(1464077739) int(1464091200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-05-24 10:15:39.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-05-24 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1464077739) int(1464091200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-05-24 10:15:39.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-05-24 15:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.4.11 - 5.4.45
Fatal error: Class 'DateTimeImmutable' not found in /in/H7foi on line 3
Process exited with code 255.
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/H7foi on line 5
Process exited with code 255.