Req->Doc #74054 [Csd]: New DateInterval properties based on `DateInterval::__debuginfo`
| From: | derick@php.net | Date: | Sun, 05 Jun 2022 14:24:03 +0000 |
| Subject: | Req->Doc #74054 [Csd]: New DateInterval properties based on `DateInterval::__debuginfo` | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-19468@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: derick@php.net
Reported by: a dot schilder at gmx dot de
Summary: New DateInterval properties based on
DateInterval::__debuginfo
Status: Closed
-Type: Feature/Change Request
+Type: Documentation Problem
Package: Date/time related
Operating System: irrelevant
PHP Version: Next Major Version
-Assigned To:
+Assigned To: derick
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
If you are still experiencing this bug, try to check out latest source from https://github.com/php/php-src and re-test.
Thank you for the report, and for helping us make PHP better.
PHP 8.2 handles this now in a much saner way, and henceforth I changed this back into a
Documentation bug, which I can also close as the documentation for this change has now been merged
into the documentation's sources.
Previous Comments:
------------------------------------------------------------------------
[2022-06-05 14:22:55] git@php.net
Automatic comment on behalf of derickr
Revision: https://github.com/php/doc-en/commit/4586854a24b1ca532b5c9ba2410db1f1eee338ed
Log: Fixed bug #74054: New DateInterval properties based on
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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