Doc #68940 [Dup->Csd]: class.dateinterval : new PHP 5.5 properties are not documented
| From: | derick@php.net | Date: | Fri, 20 May 2022 14:06:28 +0000 |
| Subject: | Doc #68940 [Dup->Csd]: class.dateinterval : new PHP 5.5 properties are not documented | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-19439@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68940&edit=1
ID: 68940
Updated by: derick@php.net
Reported by: nh75020 at laposte dot net
Summary: class.dateinterval : new PHP 5.5 properties are not
documented
-Status: Duplicate
+Status: Closed
Type: Documentation Problem
Package: Date/time related
Operating System: win 7
PHP Version: 5.5.21
-Assigned To:
+Assigned To: derick
Block user comment: N
Private report: N
New Comment:
These internal properties should not be documented, as they are an implementation detail. The ones
that should be documented, are now, including 'f': https://www.php.net/class.dateinterval
Previous Comments:
------------------------------------------------------------------------
[2020-02-16 22:48:36] carusogabriel@php.net
This is been discussed via Request #74054.
------------------------------------------------------------------------
[2015-01-28 22:12:30] nh75020 at laposte dot net
Description:
------------
---
From manual page: http://www.php.net/class.dateinterval
---
starting 5.5, the object has new properties that are not documented. The last update for doc
standpoint is (PHP 5 >= 5.3.0)
DateInterval Object
(
/* docummented */
[y] => 0
[m] => 0
[d] => 4
[h] => 10
[i] => 8
[s] => 35
[invert] => 0
[days] => 4
/* new in PHP 5.5, not documented */
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68940&edit=1