3v4l.org

run code in 300+ PHP versions simultaneously
<?php //just for testing purposes $sunday11am = strtotime("2016-02-07 11:00:00"); //sunday 11am $sunday11pm = strtotime("2016-02-07 23:00:00"); //sunday 11pm //test with sunday morning $next = (date('N', $sunday11am) == '7' && date('h', $sunday11am) < 22 ? 'this' : 'next'); echo "Sunday Morning: ". date('F jS', strtotime("$next Sunday", $sunday11am)) ."\n"; $next = (date('N', $sunday11pm) == '7' && date('h', $sunday11pm) < 22 ? 'this' : 'next'); echo "Sunday Evening: ". date('F jS', strtotime("$next Sunday")) ."\n";
Output for git.master_jit, git.master, rfc.property-hooks
Sunday Morning: February 7th Sunday Evening: July 16th

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