2 /* Prototype : int idate(string format [, int timestamp])
3 * Description: Format a local time/date as integer
4 * Source code: ext/date/php_date.c
8 echo "*** Testing idate() : error conditions ***\n";
10 echo "\n-- Testing idate() function with Zero arguments --\n";
13 echo "\n-- Testing idate() function with more than expected no. of arguments --\n";
14 $format = '%b %d %Y %H:%M:%S';
15 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
17 var_dump( idate($format, $timestamp, $extra_arg) );