#23095 [NEW]: mktime() has optional arguments
| From: | colin at easydns dot com | Date: | Mon, 07 Apr 2003 16:03:33 +0000 |
| Subject: | #23095 [NEW]: mktime() has optional arguments | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969352487@lists.php.net to get a copy of this message | ||
From: colin at easydns dot com
Operating system: Linux
PHP version: 4.3.1
PHP Bug Type: Documentation problem
Bug description: mktime() has optional arguments
I know the manual page for mktime says:
"Arguments may be left out in order from right to left; any arguments thus
omitted will be set to the current value according to the local date and
time."
So, shouldn't the function spec read:
int mktime ( [int hour [, int minute [, int second [, int month [, int day
[, int year [, int is_dst]]]]]]])
Ugly, perhaps, but accurate.
- Colin
--
Edit bug report at http://bugs.php.net/?id=23095&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23095&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23095&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23095&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23095&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23095&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23095&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23095&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23095&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23095&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23095&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23095&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23095&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23095&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23095&r=gnused