3v4l.org

run code in 300+ PHP versions simultaneously
<?php $millisInThePast = 50000; $currentDate = new DateTime("2019-10-14T15:08:23.123+02:00"); echo 'Current: ' . $currentDate->format(DATE_RFC3339_EXTENDED) . "\n"; echo 'Past: ' . $currentDate->modify("-{$millisInThePast} msec")->format(DATE_RFC3339_EXTENDED);
Output for git.master, git.master_jit, rfc.property-hooks
Current: 2019-10-14T15:08:23.123+02:00 Past: 2019-10-14T15:07:33.123+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:
53.99 ms | 401 KiB | 8 Q