Lines Matching refs:gmdate
2 Test gmdate() function : error conditions
5 /* Prototype : string gmdate(string format [, long timestamp])
11 echo "*** Testing gmdate() : error conditions ***\n";
19 echo "\n-- Testing gmdate() function with Zero arguments --\n";
20 var_dump( gmdate() );
22 //Test gmdate with one more than the expected number of arguments
23 echo "\n-- Testing gmdate() function with more than expected no. of arguments --\n";
25 var_dump( gmdate($format, $timestamp, $extra_arg) );
30 *** Testing gmdate() : error conditions ***
32 -- Testing gmdate() function with Zero arguments --
34 Warning: gmdate() expects at least 1 parameter, 0 given in %s on line %d
37 -- Testing gmdate() function with more than expected no. of arguments --
39 Warning: gmdate() expects at most 2 parameters, 3 given in %s on line %d