3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); error_reporting(-1); ini_set('display_errors', 'On'); $start = new \DateTimeImmutable('2019-02-10 23:59:57'); for ($i = 0; $i < 7; ++$i) { echo $start->format('c'), "\n"; $start = $start->modify('+1 second'); }
Output for git.master, git.master_jit, rfc.property-hooks
2019-02-10T23:59:57+01:00 2019-02-10T23:59:58+01:00 2019-02-10T23:59:59+01:00 2019-02-11T00:00:00+01:00 2019-02-11T00:00:01+01:00 2019-02-11T00:00:02+01:00 2019-02-11T00:00:03+01: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:
19.09 ms | 401 KiB | 8 Q