3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = [ (new DateTimeImmutable())->format('c.u'), (new DateTimeImmutable())->modify('next day')->format('c.u'), (new DateTimeImmutable())->modify('tomorrow')->format('c.u'), (new DateTimeImmutable())->modify('next day')->modify('next day')->format('c.u'), (new DateTimeImmutable())->modify('tomorrow')->modify('tomorrow')->format('c.u'), ]; var_dump(...$d);
Output for git.master
string(32) "2017-07-11T15:55:55+02:00.003331" string(32) "2017-07-12T15:55:55+02:00.003342" string(32) "2017-07-12T00:00:00+02:00.000000" string(32) "2017-07-13T15:55:55+02:00.003356" string(32) "2017-07-13T00:00:00+02:00.000000"
Output for git.master_jit
string(32) "2017-07-11T15:55:55+02:00.003890" string(32) "2017-07-12T15:55:55+02:00.003903" string(32) "2017-07-12T00:00:00+02:00.000000" string(32) "2017-07-13T15:55:55+02:00.003916" string(32) "2017-07-13T00:00:00+02:00.000000"
Output for rfc.property-hooks
string(32) "2017-07-11T15:55:55+02:00.003945" string(32) "2017-07-12T15:55:55+02:00.003953" string(32) "2017-07-12T00:00:00+02:00.000000" string(32) "2017-07-13T15:55:55+02:00.003964" string(32) "2017-07-13T00:00:00+02:00.000000"

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:
45.18 ms | 401 KiB | 8 Q