Doc #66343 [NEW]: DateTime static aliases don't have proper signatures on pages.
| From: | donatj at gmail dot com | Date: | Mon, 23 Dec 2013 20:46:15 +0000 |
| Subject: | Doc #66343 [NEW]: DateTime static aliases don't have proper signatures on pages. | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-10736@lists.php.net to get a copy of this message | ||
From: donatj at gmail dot com
Operating system:
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:DateTime static aliases don't have proper signatures on pages.
Description:
------------
---
From manual page: http://www.php.net/function.date-offset-get
---
DateTime static aliases don't have proper signatures on pages.
For example, date_offset_get, an alias of DateTime::getOffset should be
noted as:
int date_offset_get ( DateTimeInterface $object )
It **is** noted as such here:
http://www.php.net/manual/en/datetime.getoffset.php5
but is not on its own page here:
http://www.php.net/function.date-offset-get
A non-exhaustive list of affected methods follow.
date_add, date_create_from_format, date_create_immutable_from_format,
date_create_immutable, date_create, date_date_set, date_diff,
date_format, date_get_last_errors, date_interval_create_from_date_string
... and many more from the http://us2.php.net/manual/en/ref.datetime.php
section
Expected result:
----------------
int date_offset_get ( DateTimeInterface $object )
Actual result:
--------------
date_offset_get
--
Edit bug report at https://bugs.php.net/bug.php?id=66343&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66343&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66343&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66343&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66343&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66343&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66343&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66343&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66343&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66343&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66343&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66343&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66343&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66343&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66343&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66343&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66343&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66343&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66343&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66343&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66343&r=mysqlcfg