3v4l.org

run code in 300+ PHP versions simultaneously
<?php $closeDayArray = array( "January" => array(4), "February" => array(12), "March" => array(2,12,27), "April" => array(12,13,14,15,16,17,18,19,20,21), "May" => array(1,10), "July" => array(8,19), "October" => array(5), "November" => array(3), "December" => array(25) ); date_default_timezone_set('Asia/Bangkok'); $day= date('D') ; $month = date('M'); if($day == "Mon") { echo "close"; } echo $month;
Output for git.master, git.master_jit, rfc.property-hooks
Feb

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