1--TEST-- 2Bug #54254 (cal_days_in_month incompatible with jdtojewish in non-leap-years) 3--SKIPIF-- 4<?php include 'skipif.inc'; ?> 5--FILE-- 6<?php 7var_dump(cal_days_in_month(CAL_JEWISH, 1, 5771)); 8var_dump(cal_days_in_month(CAL_JEWISH, 2, 5771)); 9var_dump(cal_days_in_month(CAL_JEWISH, 3, 5771)); 10var_dump(cal_days_in_month(CAL_JEWISH, 4, 5771)); 11var_dump(cal_days_in_month(CAL_JEWISH, 5, 5771)); 12var_dump(cal_days_in_month(CAL_JEWISH, 6, 5771)); 13var_dump(cal_days_in_month(CAL_JEWISH, 7, 5771)); 14var_dump(cal_days_in_month(CAL_JEWISH, 8, 5771)); 15var_dump(cal_days_in_month(CAL_JEWISH, 9, 5771)); 16var_dump(cal_days_in_month(CAL_JEWISH, 10, 5771)); 17var_dump(cal_days_in_month(CAL_JEWISH, 11, 5771)); 18var_dump(cal_days_in_month(CAL_JEWISH, 12, 5771)); 19var_dump(cal_days_in_month(CAL_JEWISH, 13, 5771)); 20var_dump(cal_days_in_month(CAL_JEWISH, 1, 5772)); 21var_dump(cal_days_in_month(CAL_JEWISH, 2, 5772)); 22var_dump(cal_days_in_month(CAL_JEWISH, 3, 5772)); 23var_dump(cal_days_in_month(CAL_JEWISH, 4, 5772)); 24var_dump(cal_days_in_month(CAL_JEWISH, 5, 5772)); 25var_dump(cal_days_in_month(CAL_JEWISH, 6, 5772)); 26var_dump(cal_days_in_month(CAL_JEWISH, 7, 5772)); 27var_dump(cal_days_in_month(CAL_JEWISH, 8, 5772)); 28var_dump(cal_days_in_month(CAL_JEWISH, 9, 5772)); 29var_dump(cal_days_in_month(CAL_JEWISH, 10, 5772)); 30var_dump(cal_days_in_month(CAL_JEWISH, 11, 5772)); 31var_dump(cal_days_in_month(CAL_JEWISH, 12, 5772)); 32var_dump(cal_days_in_month(CAL_JEWISH, 13, 5772)); 33--EXPECT-- 34int(30) 35int(30) 36int(30) 37int(29) 38int(30) 39int(30) 40int(29) 41int(30) 42int(29) 43int(30) 44int(29) 45int(30) 46int(29) 47int(30) 48int(29) 49int(30) 50int(29) 51int(30) 52int(0) 53int(29) 54int(30) 55int(29) 56int(30) 57int(29) 58int(30) 59int(29) 60