Lines Matching refs:strptime
5 if (!function_exists('strptime')) {
6 echo "SKIP strptime function not available in build";
11 /* Prototype : array strptime ( string $date , string $format )
20 echo "*** Testing strptime() : error conditions ***\n";
22 echo "\n-- Testing strptime() function with Zero arguments --\n";
23 var_dump( strptime() );
25 echo "\n-- Testing strptime() function with less than expected no. of arguments --\n";
29 var_dump( strptime($date) );
31 echo "\n-- Testing strptime() function with more than expected no. of arguments --\n";
33 var_dump( strptime($date, $format, $extra_arg) );
38 *** Testing strptime() : error conditions ***
40 -- Testing strptime() function with Zero arguments --
42 Warning: strptime() expects exactly 2 parameters, 0 given in %s on line %d
45 -- Testing strptime() function with less than expected no. of arguments --
47 Warning: strptime() expects exactly 2 parameters, 1 given in %s on line %d
50 -- Testing strptime() function with more than expected no. of arguments --
52 Warning: strptime() expects exactly 2 parameters, 3 given in %s on line %d