3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('Europe/Minsk'); $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);
based on H7foi
Output for 7.2.0
int(1452860584) int(1452855600) int(1452860584) int(1452855600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 15:23:04.003871" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1452860584) int(1452855600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 15:23:04.003871" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.1.10
int(1452860584) int(1452855600) int(1452860584) int(1452855600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 15:23:04.006732" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1452860584) int(1452855600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 15:23:04.006732" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.1.7
int(1452860584) int(1452855600) int(1452860584) int(1452855600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 15:23:04.002658" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1452860584) int(1452855600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 15:23:04.002658" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.1.6
int(1452860584) int(1452855600) int(1452860584) int(1452855600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 15:23:04.012826" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1452860584) int(1452855600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 15:23:04.012826" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.1.5
int(1452860584) int(1452855600) int(1452860584) int(1452855600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 15:23:04.007511" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1452860584) int(1452855600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 15:23:04.007511" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.1.0
int(1452860584) int(1452855600) int(1452860584) int(1452855600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 15:23:04.003979" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1452860584) int(1452855600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 15:23:04.003979" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.28, 7.0.20
int(1452860584) int(1452855600) int(1452860584) int(1452855600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 15:23:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1452860584) int(1452855600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-01-15 15:23:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-01-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.0.6
int(1463831485) int(1463828400) int(1463831485) int(1463828400) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-05-21 14:51:25.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-05-21 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1463831485) int(1463828400) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-05-21 14:51:25.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-05-21 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.0.5
int(1459669718) int(1459681200) int(1459669718) int(1459681200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-03 10:48:38.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-03 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1459669718) int(1459681200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-03 10:48:38.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-03 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.0.4
int(1457643365) int(1457607600) int(1457643365) int(1457607600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-10 23:56:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-10 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1457643365) int(1457607600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-10 23:56:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-10 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.0.3
int(1458339830) int(1458385200) int(1458339830) int(1458385200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-19 01:23:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-19 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1458339830) int(1458385200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-19 01:23:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-19 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.0.2
int(1458707866) int(1458730800) int(1458707866) int(1458730800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-23 07:37:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-23 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1458707866) int(1458730800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-23 07:37:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-23 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.0.1
int(1458805248) int(1458817200) int(1458805248) int(1458817200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-24 10:40:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-24 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1458805248) int(1458817200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-24 10:40:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-24 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 7.0.0
int(1459067628) int(1459076400) int(1459067628) int(1459076400) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-27 11:33:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-27 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1459067628) int(1459076400) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-27 11:33:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-27 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.21
int(1462200180) int(1462186800) int(1462200180) int(1462186800) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-05-02 17:43:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-05-02 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1462200180) int(1462186800) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-05-02 17:43:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-05-02 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.20
int(1460271059) int(1460286000) int(1460271059) int(1460286000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-10 09:50:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-10 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1460271059) int(1460286000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-10 09:50:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-10 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.19
int(1457413551) int(1457434800) int(1457413551) int(1457434800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-08 08:05:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-08 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1457413551) int(1457434800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-08 08:05:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-08 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.18
int(1458050649) int(1458039600) int(1458050649) int(1458039600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-15 17:04:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1458050649) int(1458039600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-15 17:04:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.17
int(1458437787) int(1458471600) int(1458437787) int(1458471600) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-20 04:36:27.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-20 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1458437787) int(1458471600) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-20 04:36:27.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-20 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.16
int(1459157016) int(1459162800) int(1459157016) int(1459162800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-28 12:23:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-28 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1459157016) int(1459162800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-28 12:23:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-28 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.15
int(1459246390) int(1459249200) int(1459246390) int(1459249200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-29 13:13:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-29 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1459246390) int(1459249200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-29 13:13:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-29 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.14
int(1460649337) int(1460631600) int(1460649337) int(1460631600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-14 18:55:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-14 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1460649337) int(1460631600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-14 18:55:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-14 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.13
int(1460738078) int(1460718000) int(1460738078) int(1460718000) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-15 19:34:38.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1460738078) int(1460718000) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-15 19:34:38.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-15 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.12
int(1461135884) int(1461150000) int(1461135884) int(1461150000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-20 10:04:44.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-20 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461135884) int(1461150000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-20 10:04:44.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-20 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.11
int(1461504647) int(1461495600) int(1461504647) int(1461495600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-24 16:30:47.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-24 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461504647) int(1461495600) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-24 16:30:47.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-24 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.10
int(1461598583) int(1461582000) int(1461598583) int(1461582000) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-25 18:36:23.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-25 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461598583) int(1461582000) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-25 18:36:23.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-25 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.9
int(1461791064) int(1461841200) int(1461791064) int(1461841200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-28 00:04:24.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-28 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461791064) int(1461841200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-28 00:04:24.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-28 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.6.8
int(1461994274) int(1462014000) int(1461994274) int(1462014000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-30 08:31:14.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-30 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461994274) int(1462014000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-30 08:31:14.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-30 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.35
int(1463964423) int(1464001200) int(1463964423) int(1464001200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-05-23 03:47:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-05-23 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1463964423) int(1464001200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-05-23 03:47:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-05-23 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.34
int(1460365554) int(1460372400) int(1460365554) int(1460372400) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-11 12:05:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-11 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1460365554) int(1460372400) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-11 12:05:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-11 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.33
int(1457510700) int(1457521200) int(1457510700) int(1457521200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-09 11:05:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-09 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1457510700) int(1457521200) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-09 11:05:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-09 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.32
int(1458237744) int(1458212400) int(1458237744) int(1458212400) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-17 21:02:24.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-17 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1458237744) int(1458212400) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-17 21:02:24.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-17 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.31
int(1458535715) int(1458558000) int(1458535715) int(1458558000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-21 07:48:35.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-21 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1458535715) int(1458558000) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-03-21 07:48:35.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-03-21 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.30
int(1459512277) int(1459508400) int(1459512277) int(1459508400) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-01 15:04:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-01 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1459512277) int(1459508400) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-01 15:04:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-01 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.29
int(1460875936) int(1460890800) int(1460875936) int(1460890800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-17 09:52:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-17 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1460875936) int(1460890800) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-17 09:52:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-17 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.28
int(1461234261) int(1461236400) int(1461234261) int(1461236400) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-21 13:24:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-21 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461234261) int(1461236400) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-21 13:24:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-21 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.27
int(1461326515) int(1461322800) int(1461326515) int(1461322800) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-22 15:01:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-22 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461326515) int(1461322800) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-22 15:01:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-22 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.26
int(1461694683) int(1461668400) int(1461694683) int(1461668400) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-26 21:18:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-26 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461694683) int(1461668400) bool(true) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-26 21:18:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-26 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.25
int(1461894256) int(1461927600) int(1461894256) int(1461927600) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-29 04:44:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-29 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1461894256) int(1461927600) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-04-29 04:44:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-04-29 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" }
Output for 5.5.24
int(1464077739) int(1464087600) int(1464077739) int(1464087600) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-05-24 11:15:39.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-05-24 14:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:00" } int(1464077739) int(1464087600) bool(false) object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2016-05-24 11:15:39.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Minsk" } object(DateTimeImmutable)#5 (3) { ["date"]=> string(26) "2016-05-24 14: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/LQi2d on line 5
Process exited with code 255.
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/LQi2d on line 7
Process exited with code 255.