3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tz = new DateTimeZone('America/Toronto'); var_dump($tz->getTransitions(strtotime("1800-01-01"), strtotime("1900-01-01")));
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [0]=> array(5) { ["ts"]=> int(-5364663572) ["time"]=> string(25) "1799-12-31T23:40:28+00:00" ["offset"]=> int(-19052) ["isdst"]=> bool(false) ["abbr"]=> string(3) "LMT" } [1]=> array(5) { ["ts"]=> int(-2366736148) ["time"]=> string(25) "1895-01-01T05:17:32+00:00" ["offset"]=> int(-18000) ["isdst"]=> bool(false) ["abbr"]=> string(3) "EST" } }

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:
38.79 ms | 402 KiB | 8 Q