Lines Matching refs:gmstrftime
2 Test gmstrftime() function : error conditions
5 /* Prototype : string gmstrftime(string format [, int timestamp])
11 echo "*** Testing gmstrftime() : error conditions ***\n";
14 echo "\n-- Testing gmstrftime() function with Zero arguments --\n";
15 var_dump( gmstrftime() );
17 //Test gmstrftime with one more than the expected number of arguments
18 echo "\n-- Testing gmstrftime() function with more than expected no. of arguments --\n";
22 var_dump( gmstrftime($format, $timestamp, $extra_arg) );
27 *** Testing gmstrftime() : error conditions ***
29 -- Testing gmstrftime() function with Zero arguments --
31 Warning: gmstrftime() expects at least 1 parameter, 0 given in %s on line %d
34 -- Testing gmstrftime() function with more than expected no. of arguments --
36 Warning: gmstrftime() expects at most 2 parameters, 3 given in %s on line %d