3v4l.org

run code in 300+ PHP versions simultaneously
<?php $monday = strtotime('this week', strtotime('7 days ago')); $sunday = strtotime('+ 6 days', $monday); echo 'Past Week Monday: ' . date('l, F j, Y', $monday) . PHP_EOL; echo 'Past Week Sunday: ' . date('l, F j, Y', $sunday) . PHP_EOL; echo "\n*** HIT [eval();] to show corrected result ***";
Output for git.master, git.master_jit, rfc.property-hooks
Past Week Monday: Monday, February 13, 2023 Past Week Sunday: Sunday, February 19, 2023 *** HIT [eval();] to show corrected result ***

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:
110.9 ms | 405 KiB | 5 Q