Lines Matching refs:date
2 Test date() function : error conditions
5 /* Prototype : string date ( string $format [, int $timestamp ] )
6 * Description: Format a local time/date.
7 * Source code: ext/date/php_date.c
10 echo "*** Testing date() : error conditions ***\n";
18 echo "\n-- Testing date function with no arguments --\n";
19 var_dump (date());
21 echo "\n-- Testing date function with more than expected no. of arguments --\n";
28 *** Testing date() : error conditions ***
30 -- Testing date function with no arguments --
32 Warning: date() expects at least 1 parameter, 0 given in %s on line %d
35 -- Testing date function with more than expected no. of arguments --