I was using a binary with the new timelib. Undo the datetime tests
[hiphop-php.git] / hphp / test / zend / bad / ext-date / getdate_error.php
blob81cb23566bdee5b310e25dd9960b9fafb91900d0
1 <?php
2 /* Prototype : array getdate([int timestamp])
3 * Description: Get date/time information
4 * Source code: ext/date/php_date.c
5 * Alias to functions:
6 */
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";
15 $timestamp = 10;
16 $extra_arg = 10;
17 var_dump( getdate($timestamp, $extra_arg) );
20 ===DONE===