3v4l.org

run code in 300+ PHP versions simultaneously
<?php $newSettleDate = new DateTime(date('Y-m-d H:i:s')); $newSettleDate->modify('+2 weeks'); $newSettleDate->modify('Next Sunday'); echo $newSettleDate->format('Y-m-d H:i:s'); echo strtotime('next sunday', date('Y-m-d H:i:s'));
Output for git.master, git.master_jit, rfc.property-hooks
2013-08-18 00:00:00 Fatal error: Uncaught TypeError: strtotime(): Argument #2 ($baseTimestamp) must be of type ?int, string given in /in/Dgv3C:7 Stack trace: #0 /in/Dgv3C(7): strtotime('next sunday', '2013-08-02 20:5...') #1 {main} thrown in /in/Dgv3C 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:
43.92 ms | 401 KiB | 8 Q