3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new DateTime('2013-07-09 02:00:00'); $a->sub(new DateInterval('PT0H10M')); echo $a->format('H:i'); echo date("H:i:s", strtotime('2013-0709 02:00:00', "-2 hours"));
Output for git.master, git.master_jit, rfc.property-hooks
01:50 Fatal error: Uncaught TypeError: strtotime(): Argument #2 ($baseTimestamp) must be of type ?int, string given in /in/YZbtq:7 Stack trace: #0 /in/YZbtq(7): strtotime('2013-0709 02:00...', '-2 hours') #1 {main} thrown in /in/YZbtq on line 7
Process exited with code 255.

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