3v4l.org

run code in 300+ PHP versions simultaneously
<?php $today = new DateTimeImmutable(); $M = $today->modify("next monday"); echo "next monday: {$M->format("m/d/y")}\n"; $W = $M->modify("next wednesday"); echo "next wednesday: {$W->format("m/d/y")}\n"; $F = $W->modify("next friday"); echo "next friday: {$F->format("m/d/y")}\n";
Output for git.master_jit, git.master
next monday: 03/23/26 next wednesday: 03/25/26 next friday: 03/27/26

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:
49.06 ms | 702 KiB | 4 Q