3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = date_create('2018-07-17T20:00:00Z', timezone_open('UTC')); echo date_format($date, 'Y-m-d H:i:sP') . "\n"; date_timezone_set($date, timezone_open('America/New_York')); echo date_format($date, 'Y-m-d H:i:sP') . "\n";
Output for git.master_jit, git.master, rfc.property-hooks
2018-07-17 20:00:00+00:00 2018-07-17 16:00:00-04: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:
39.02 ms | 401 KiB | 8 Q