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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: danielklein at airpost dot net
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Tue Apr 23 16:01:30 2024 UTC