|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #80473 DateInterval invert property should be bool
Submitted: 2020-12-02 20:23 UTC Modified: 2022-05-13 15:51 UTC
From: michael dot vorisek at email dot cz Assigned:
Status: Wont fix Package: Date/time related
PHP Version: 8.0.0 OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2020-12-02 20:23 UTC] michael dot vorisek at email dot cz
This is a feature request to change DateInterval invert property from integer to bool type.

Test script:

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2022-05-13 15:51 UTC]
-Status: Open +Status: Wont fix
 [2022-05-13 15:51 UTC]
That would have been the right choice from the start, but I don't seem to find a good reason to change this now (and slightly break BC).
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Dec 07 21:04:14 2022 UTC