Req->Doc #74054 [Csd]: New DateInterval properties based on `DateInterval::__debuginfo`
[email protected] Sun, 05 Jun 2022 14:24:03 +0000
| Newsgroups | php.doc.bugs |
|---|---|
| Message-ID | <[email protected]> |
Edit report at https://bugs.php.net/bug.php?id=74054&edit=1 ID: 74054 Updated by: [email protected] 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] [email protected] 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] [email protected] Related To: Bug #76588 ------------------------------------------------------------------------ [2020-02-16 22:48:36] [email protected] Related To: Bug #68940 ------------------------------------------------------------------------ [2020-02-16 22:22:59] [email protected] 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] [email protected] > 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