Lines Matching refs:checkdate
5 /* Prototype : bool checkdate ( int $month , int $day , int $year )
14 echo "*** Testing checkdate() : basic functionality ***\n";
17 var_dump( checkdate(1, 1, 2009) );
18 var_dump( checkdate(12, 31, 2009) );
19 var_dump( checkdate(7, 2, 1963) );
20 var_dump( checkdate(5, 31, 2009) );
21 var_dump( checkdate(2, 28, 2009) ); // non-leap year
22 var_dump( checkdate(2, 29, 2008) ); // leap year
23 var_dump( checkdate(7, 2, 1) ); // min year
24 var_dump( checkdate(7, 2, 32767) ); // max year
27 var_dump( checkdate(13, 1, 2009) );
28 var_dump( checkdate(2, 31, 2009) );
29 var_dump( checkdate(1, 32, 2009) );
30 var_dump( checkdate(2, 29, 2009) ); // non-leap year
31 var_dump( checkdate(7, 2, 32768) ); // >max year
32 var_dump( checkdate(7, 2, 0) ); // <min year
37 *** Testing checkdate() : basic functionality ***