Searched refs:checkdate (Results 1 – 9 of 9) sorted by relevance
/PHP-5.6/ext/date/tests/ |
H A D | 006.phpt | 2 checkdate() tests 7 var_dump(checkdate()); 8 var_dump(checkdate(1,1,1)); 10 var_dump(checkdate(2,29,2006)); 11 var_dump(checkdate(31,6,2006)); 12 var_dump(checkdate(1,1,32768)); 13 var_dump(checkdate(1,1,32767)); 15 var_dump(checkdate(-1,1,2006)); 16 var_dump(checkdate(1,-1,2006)); 17 var_dump(checkdate(1,1,-1)); [all …]
|
H A D | checkdate_basic1.phpt | 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) ); 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) ); [all …]
|
H A D | checkdate_error.phpt | 2 Test checkdate() function : error conditions 5 /* Prototype : bool checkdate ( int $month , int $day , int $year ) 11 echo "*** Testing checkdate() : error conditions ***\n"; 22 var_dump (checkdate($arg_0, $arg_1, $arg_2, $extra_arg)); 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 [all …]
|
H A D | checkdate_variation1.phpt | 2 Test checkdate() function : usage variation - Passing unexpected values to first argument $month. 5 /* Prototype : bool checkdate ( int $month , int $day , int $year ) 93 var_dump( checkdate($month, $day, $year) ); 115 Warning: checkdate() expects parameter 1 to be long, array given in %s on line %d 120 Warning: checkdate() expects parameter 1 to be long, array given in %s on line %d 125 Warning: checkdate() expects parameter 1 to be long, array given in %s on line %d 130 Warning: checkdate() expects parameter 1 to be long, array given in %s on line %d 153 Warning: checkdate() expects parameter 1 to be long, string given in %s on line %d 158 Warning: checkdate() expects parameter 1 to be long, string given in %s on line %d 163 Warning: checkdate() expects parameter 1 to be long, string given in %s on line %d [all …]
|
H A D | checkdate_variation2.phpt | 2 Test checkdate() function : usage variation - Passing unexpected values to second argument $day. 5 /* Prototype : bool checkdate ( int $month , int $day , int $year ) 93 var_dump( checkdate($month, $day, $year) ); 115 Warning: checkdate() expects parameter 2 to be long, array given in %s on line %d 120 Warning: checkdate() expects parameter 2 to be long, array given in %s on line %d 125 Warning: checkdate() expects parameter 2 to be long, array given in %s on line %d 130 Warning: checkdate() expects parameter 2 to be long, array given in %s on line %d 153 Warning: checkdate() expects parameter 2 to be long, string given in %s on line %d 158 Warning: checkdate() expects parameter 2 to be long, string given in %s on line %d 163 Warning: checkdate() expects parameter 2 to be long, string given in %s on line %d [all …]
|
H A D | checkdate_variation3.phpt | 2 Test checkdate() function : usage variation - Passing unexpected values to third argument $year. 5 /* Prototype : bool checkdate ( int $month , int $day , int $year ) 93 var_dump( checkdate($month, $day, $year) ); 115 Warning: checkdate() expects parameter 3 to be long, array given in %s on line %d 120 Warning: checkdate() expects parameter 3 to be long, array given in %s on line %d 125 Warning: checkdate() expects parameter 3 to be long, array given in %s on line %d 130 Warning: checkdate() expects parameter 3 to be long, array given in %s on line %d 153 Warning: checkdate() expects parameter 3 to be long, string given in %s on line %d 158 Warning: checkdate() expects parameter 3 to be long, string given in %s on line %d 163 Warning: checkdate() expects parameter 3 to be long, string given in %s on line %d [all …]
|
H A D | date_error.phpt | 23 var_dump (checkdate($format, $timestamp, $extra_arg)); 37 Warning: checkdate() expects parameter 1 to be long, string given in %s on line %d
|
/PHP-5.6/ext/date/ |
H A D | php_date.h | 38 PHP_FUNCTION(checkdate);
|
H A D | php_date.c | 399 PHP_FE(checkdate, arginfo_checkdate) 1620 PHP_FUNCTION(checkdate) in PHP_FUNCTION() argument
|
Completed in 25 milliseconds