3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "Now: ", $now = strtotime("now"), "\n"; echo "Then: ", $then = strtotime("now -20 years"), "\n"; echo $now2 = strtotime("now +1 year"), "\n"; echo $then2 = strtotime("now -19 years"), "\n"; echo "Dif 1", $now-$then, "\n"; echo "Dif 2", $now2-$then2, "\n";
Output for git.master, git.master_jit, rfc.property-hooks
Now: 1453300450 Then: 822148450 1484922850 853770850 Dif 1631152000 Dif 2631152000

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:
48.47 ms | 401 KiB | 8 Q