3v4l.org

run code in 500+ PHP versions simultaneously
<?php $start = '2022-09-10T00:00:00-07:00'; //TZ=-7:00 $timeStamp = strtotime($start); echo "start as UTC: ".gmdate(DATE_W3C,$timeStamp)."\n"; //start as UTC: 2022-09-10T07:00:00+00:00 date_default_timezone_set('Europe/Berlin'); //my local timezone echo "start as Localtime: ".date(DATE_W3C,$timeStamp)."\n"; //start as Localtime: 2022-09-10T09:00:00+02:00
Output for git.master, git.master_jit, rfc.property-hooks
start as UTC: 2022-09-10T07:00:00+00:00 start as Localtime: 2022-09-10T09:00:00+02: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:
47.89 ms | 1258 KiB | 4 Q