3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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('F'); if($day == "Mon") { echo "close"; } echo $month;
based on EUL8T
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0beta1
February