2 /* Prototype : string gmdate(string format [, long timestamp])
3 * Description: Format a GMT date/time
4 * Source code: ext/date/php_date.c
8 echo "*** Testing gmdate() : error conditions ***\n";
10 // Initialise all required variables
11 date_default_timezone_set('UTC');
12 $format = DATE_ISO8601
;
13 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
16 echo "\n-- Testing gmdate() function with Zero arguments --\n";
19 //Test gmdate with one more than the expected number of arguments
20 echo "\n-- Testing gmdate() function with more than expected no. of arguments --\n";
22 var_dump( gmdate($format, $timestamp, $extra_arg) );