3v4l.org

run code in 300+ PHP versions simultaneously
<?php $expirationDate = new DateTimeImmutable('2025-12-31 23:59:59'); echo $expirationDate->format('Y-m-d H:i:s') . chr(10); $newDate = $expirationDate->modify('-1 day'); echo $newDate->format('Y-m-d H:i:s') . chr(10); $newDate = $expirationDate->modify('-1 month'); echo $newDate->format('Y-m-d H:i:s') . chr(10); $newDate = $expirationDate->modify('-2 month'); echo $newDate->format('Y-m-d H:i:s') . chr(10);
Output for git.master, git.master_jit, rfc.property-hooks
2025-12-31 23:59:59 2025-12-30 23:59:59 2025-12-01 23:59:59 2025-10-31 23:59:59

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