Doc #74054 [NEW]: DateInterval property documentation incomplete
| From: | a dot schilder at gmx dot de | Date: | Tue, 07 Feb 2017 08:24:39 +0000 |
| Subject: | Doc #74054 [NEW]: DateInterval property documentation incomplete | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-14420@lists.php.net to get a copy of this message | ||
From: a dot schilder at gmx dot de
Operating system: irrelevant
PHP version: 7.1.1
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:DateInterval property documentation incomplete
Description:
------------
The following properties are missing in the documentation
(http://www.php.net/class.dateinterval):
- 'f' (decimal fraction of second)
- 'weekday' (0 = undefined, 1 to 7 = Monday to Sunday?)
- 'weekday_behavior' (?)
- 'first_last_day_of' (?)
- 'special_type' (?)
- 'special_amount' (?)
- 'have_weekday_relative' (?)
- 'have_special_relative' (?)
Especially the 'f' property is important when comparing two values, and
it should be noted that the decimal fraction of the seconds was ignored
in previous PHP versions.
Expected result:
----------------
Documented properties
Actual result:
--------------
Undocumented properties
--
Edit bug report at https://bugs.php.net/bug.php?id=74054&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74054&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74054&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74054&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=74054&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=74054&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=74054&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=74054&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=74054&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=74054&r=support
Expected behavior: https://bugs.php.net/fix.php?id=74054&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=74054&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=74054&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=74054&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74054&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=74054&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=74054&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=74054&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74054&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=74054&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=74054&r=mysqlcfg