2 /* Prototype : array getdate([int timestamp])
3 * Description: Get date/time information
4 * Source code: ext/date/php_date.c
8 echo "*** Testing getdate() : error conditions ***\n";
10 //Set the default time zone
11 date_default_timezone_set("America/Chicago");
13 //Test getdate with one more than the expected number of arguments
14 echo "\n-- Testing getdate() function with more than expected no. of arguments --\n";
17 var_dump( getdate($timestamp, $extra_arg) );