3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/Prague'); $d = new DateTime('@-21474836470'); $d->setTimezone(new DateTimeZone(date_default_timezone_get())); echo $d->format('c'); echo "\n"; echo $d->format('U'); echo "\n"; $d = new DateTime('1289-06-27 15:58:22'); echo $d->format('c'); echo "\n"; echo $d->format('U');
Output for git.master, git.master_jit, rfc.property-hooks
1289-06-27T16:36:34+00:57 -21474836470 1289-06-27T15:58:22+00:57 -21474838762

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:
55.64 ms | 401 KiB | 8 Q