3v4l.org

run code in 300+ PHP versions simultaneously
<?php $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-27T15:58:22'); echo $d->format('c'); echo "\n"; echo $d->format('U');
Output for git.master, git.master_jit, rfc.property-hooks
1289-06-27T15:58:22+00:19 -21474836470 1289-06-27T15:58:22+00:19 -21474836470

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