1--TEST-- 2cal_days_in_month() 3--SKIPIF-- 4<?php include 'skipif.inc'; ?> 5--FILE-- 6<?php 7$num = cal_days_in_month(CAL_GREGORIAN, 8, 2003); 8echo "There are $num days in August 2003\n"; 9$num = cal_days_in_month(CAL_GREGORIAN, 2, 2003); 10echo "There are $num days in February 2003\n"; 11$num = cal_days_in_month(CAL_GREGORIAN, 2, 2004); 12echo "There are $num days in February 2004\n"; 13$num = cal_days_in_month(CAL_GREGORIAN, 12, 2034); 14echo "There are $num days in December 2034\n"; 15?> 16--EXPECT-- 17There are 31 days in August 2003 18There are 28 days in February 2003 19There are 29 days in February 2004 20There are 31 days in December 2034 21