3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_Dump(array_slice((new DateTimeZone('Europe/Berlin'))->getTransitions(), 0, 3)); var_Dump((new DateTimeZone('CET'))->getTransitions()); var_Dump((new DateTimeZone('+01:00'))->getTransitions());
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> array(5) { ["ts"]=> int(-9223372036854775808) ["time"]=> string(34) "-292277022657-01-27T08:29:52+00:00" ["offset"]=> int(3208) ["isdst"]=> bool(false) ["abbr"]=> string(3) "LMT" } [1]=> array(5) { ["ts"]=> int(-2422054408) ["time"]=> string(25) "1893-03-31T23:06:32+00:00" ["offset"]=> int(3600) ["isdst"]=> bool(false) ["abbr"]=> string(3) "CET" } [2]=> array(5) { ["ts"]=> int(-1693706400) ["time"]=> string(25) "1916-04-30T22:00:00+00:00" ["offset"]=> int(7200) ["isdst"]=> bool(true) ["abbr"]=> string(4) "CEST" } } bool(false) bool(false)

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
78.13 ms | 407 KiB | 5 Q