3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time_zones = array( 'America/Chicago', 'GMT', 'Europe/Berlin', ); foreach($time_zones as $time_zone){ date_default_timezone_set($time_zone); $t1 = mktime(23, 0, 0); $t2 = strtotime('today 23:00:00'); $t3 = strtotime('23:00:00'); echo date('r', $t1) . ' / ' . date('r', $t2) . ' / ' . date('r', $t3) . PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
Fri, 02 Dec 2016 23:00:00 -0600 / Fri, 02 Dec 2016 23:00:00 -0600 / Fri, 02 Dec 2016 23:00:00 -0600 Fri, 02 Dec 2016 23:00:00 +0000 / Fri, 02 Dec 2016 23:00:00 +0000 / Fri, 02 Dec 2016 23:00:00 +0000 Fri, 02 Dec 2016 23:00:00 +0100 / Fri, 02 Dec 2016 23:00:00 +0100 / Fri, 02 Dec 2016 23:00:00 +0100

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:
29.84 ms | 406 KiB | 5 Q