3v4l.org

run code in 300+ PHP versions simultaneously
<?php $today = new DateTime('today', new DateTimeZone('UTC')); foreach(range(-12, +12) as $zone) { $now = new DateTime('now', new DateTimeZone(sprintf('%+02d00', $zone))); printf("%s %s %s\n", $now->format(DATE_ATOM), $now < $today ? '<' : '>=', $today->format(DATE_ATOM)); }
Output for git.master, git.master_jit, rfc.property-hooks
2017-07-07T04:11:39-12:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T05:11:39-11:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T06:11:39-10:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T07:11:39-09:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T08:11:39-08:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T09:11:39-07:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T10:11:39-06:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T11:11:39-05:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T12:11:39-04:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T13:11:39-03:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T14:11:39-02:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T15:11:39-01:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T16:11:39+00:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T17:11:39+01:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T18:11:39+02:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T19:11:39+03:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T20:11:39+04:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T21:11:39+05:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T22:11:39+06:00 >= 2017-07-07T00:00:00+00:00 2017-07-07T23:11:39+07:00 >= 2017-07-07T00:00:00+00:00 2017-07-08T00:11:39+08:00 >= 2017-07-07T00:00:00+00:00 2017-07-08T01:11:39+09:00 >= 2017-07-07T00:00:00+00:00 2017-07-08T02:11:39+10:00 >= 2017-07-07T00:00:00+00:00 2017-07-08T03:11:39+11:00 >= 2017-07-07T00:00:00+00:00 2017-07-08T04:11:39+12:00 >= 2017-07-07T00:00:00+00:00

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:
56.74 ms | 404 KiB | 8 Q