Lines Matching refs:checkdate
2 Test checkdate() function : error conditions
5 /* Prototype : bool checkdate ( int $month , int $day , int $year )
11 echo "*** Testing checkdate() : error conditions ***\n";
21 echo "\n-- Testing checkdate() function with more than expected no. of arguments --\n";
22 var_dump (checkdate($arg_0, $arg_1, $arg_2, $extra_arg));
24 echo "\n-- Testing checkdate() function with less than expected no. of arguments --\n";
25 var_dump (checkdate());
26 var_dump (checkdate($arg_0));
27 var_dump (checkdate($arg_0, $arg_1));
32 *** Testing checkdate() : error conditions ***
34 -- Testing checkdate() function with more than expected no. of arguments --
36 Warning: checkdate() expects exactly 3 parameters, 4 given in %s on line %d
39 -- Testing checkdate() function with less than expected no. of arguments --
41 Warning: checkdate() expects exactly 3 parameters, 0 given in %s on line %d
44 Warning: checkdate() expects exactly 3 parameters, 1 given in %s on line %d
47 Warning: checkdate() expects exactly 3 parameters, 2 given in %s on line %d