3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(cal_from_jd(jewishtojd(6,27,5776), CAL_JEWISH)); print_r(cal_from_jd(jewishtojd(6,27,5777), CAL_JEWISH));
based on jBj8q
Output for 5.5.24 - 7.1.0
Array ( [date] => 6/27/5776 [month] => 6 [day] => 27 [year] => 5776 [dow] => 1 [abbrevdayname] => Mon [dayname] => Monday [abbrevmonth] => Adar I [monthname] => Adar I ) Array ( [date] => 7/27/5777 [month] => 7 [day] => 27 [year] => 5777 [dow] => 6 [abbrevdayname] => Sat [dayname] => Saturday [abbrevmonth] => Adar [monthname] => Adar )
Output for 4.3.0 - 5.4.45
Array ( [date] => 6/27/5776 [month] => 6 [day] => 27 [year] => 5776 [dow] => 1 [abbrevdayname] => Mon [dayname] => Monday [abbrevmonth] => AdarI [monthname] => AdarI ) Array ( [date] => 6/27/5777 [month] => 6 [day] => 27 [year] => 5777 [dow] => 6 [abbrevdayname] => Sat [dayname] => Saturday [abbrevmonth] => AdarI [monthname] => AdarI )