run code in 300+ PHP versions simultaneously
<?php $d = new DateTime('2011-01-15 00:00:00'); $foo = strtotime('-1 month', $d);
Output for git.master
Fatal error: Uncaught TypeError: strtotime(): Argument #2 ($baseTimestamp) must be of type ?int, DateTime given in /in/Zuv4a:4 Stack trace: #0 /in/Zuv4a(4): strtotime('-1 month', Object(DateTime)) #1 {main} thrown in /in/Zuv4a on line 4
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

64.69 ms | 408 KiB | 5 Q