3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d H:i:s',strtotime('last Monday')); echo " - "; echo date('Y-m-d H:i:s',mktime(0, 0, 0)); echo "\n"; date('Y-m-15 H:i:s', strtotime('-1 month',(date('Y-m-d'))));
Output for git.master, git.master_jit, rfc.property-hooks
2017-09-04 00:00:00 - 2017-09-09 00:00:00 Fatal error: Uncaught TypeError: strtotime(): Argument #2 ($baseTimestamp) must be of type ?int, string given in /in/TdJGd:7 Stack trace: #0 /in/TdJGd(7): strtotime('-1 month', '2017-09-09') #1 {main} thrown in /in/TdJGd 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:
29.43 ms | 406 KiB | 5 Q