1--TEST--
2Test cal_days_in_month() function : error conditions
3--CREDITS--
4edgarsandi - <edgar.r.sandi@gmail.com>
5--SKIPIF--
6<?php include 'skipif.inc'; ?>
7--FILE--
8<?php
9var_dump(cal_days_in_month(-1, 4, 2017));
10var_dump(cal_days_in_month(CAL_GREGORIAN,0, 2009));
11?>
12--EXPECTF--
13Warning: cal_days_in_month(): invalid calendar ID -1 in %s on line %d
14bool(false)
15
16Warning: cal_days_in_month(): invalid date in %s on line %d
17bool(false)
18