Req #74054 [Opn->Csd]: New DateInterval properties based on `DateInterval::__debuginfo`
| From: | git@php.net | Date: | Sun, 05 Jun 2022 14:22:55 +0000 |
| Subject: | Req #74054 [Opn->Csd]: New DateInterval properties based on `DateInterval::__debuginfo` | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-241670@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74054&edit=1
ID: 74054
Updated by: git@php.net
Reported by: a dot schilder at gmx dot de
Summary: New DateInterval properties based on
DateInterval::__debuginfo
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: Date/time related
Operating System: irrelevant
PHP Version: Next Major Version
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of derickr
Revision: https://github.com/php/doc-en/commit/4586854a24b1ca532b5c9ba2410db1f1eee338ed
Log: Fixed bug #74054: New DateInterval properties based on
Previous Comments:
------------------------------------------------------------------------
[2021-04-07 16:40:58] cmb@php.net
Related To: Bug #76588
------------------------------------------------------------------------
[2020-02-16 22:48:36] carusogabriel@php.net
Related To: Bug #68940
------------------------------------------------------------------------
[2020-02-16 22:22:59] nikic@php.net
Huh, I thought we had fixed these "properties appear after var_dump" cases... I guess not
for the cases where there are both real properties and debug properties.
------------------------------------------------------------------------
[2020-02-16 22:19:55] cmb@php.net
> Apart from f, all the properties that you mentioned they do
> not exist [â¦]
That depends on the state of the object. After it has been
var_dump()ed, for example, the properties do exist, see
<https://3v4l.org/Xaov2>.
I doubt that we want to document these properties, though.
------------------------------------------------------------------------
[2020-02-16 19:27:08] carusogabriel@php.net
Apart from f, all the properties that you mentioned they do not exist: https://3v4l.org/2vfiq.
I don't think this is a Doc Bug, but rather a Feature Request than.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=74054
--
Edit this bug report at https://bugs.php.net/bug.php?id=74054&edit=1