php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78541 DateInterval documentation has not been updated
Submitted: 2019-09-15 00:41 UTC Modified: 2019-09-15 06:11 UTC
From: danielklein at airpost dot net Assigned:
Status: Duplicate Package: Documentation problem
PHP Version: 7.3.9 OS:
Private report: No CVE-ID: None
 [2019-09-15 00:41 UTC] danielklein at airpost dot net
Description:
------------
---
From manual page: https://php.net/class.dateinterval
---

There are now more public properties, but none of these new ones have been documented yet.

Please add these new properties and explain how to use them.

Expected result:
----------------
/* Properties */
public integer $y ;
public integer $m ;
public integer $d ;
public integer $h ;
public integer $i ;
public integer $s ;
public float $f ;
public integer $weekday ;
public integer $weekday_behavior ;
public integer $first_last_day_of ;
public integer $invert ;
public mixed $days ;
public integer $special_type ;
public integer $special_amount ;
public integer $have_weekday_relative ;
public integer $have_special_relative ;


Actual result:
--------------
/* Properties */
public integer $y ;
public integer $m ;
public integer $d ;
public integer $h ;
public integer $i ;
public integer $s ;
public float $f ;
public integer $invert ;
public mixed $days ;


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-09-15 06:11 UTC] kalle@php.net
-Status: Open +Status: Duplicate
 [2019-09-15 06:11 UTC] kalle@php.net
Duplicate of bug #78540
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 09 16:01:29 2024 UTC