php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #47556 DateTime::Modify() doesn't return a value prior to PHP 5.3
Submitted: 2009-03-04 09:48 UTC Modified: 2009-04-27 12:47 UTC
From: gmtfn at yahoo dot com Assigned: bjori (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2009-03-04 09:48 UTC] gmtfn at yahoo dot com
Description:
------------
According to http://us.php.net/manual/en/datetime.modify.php, DateTime::modify() returns a modified DateTime. I believe I've read that this method returns DateTime object only starting with PHP 5.3. However, it is certain that it returns nothing prior to this version.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-03-04 09:51 UTC] gmtfn at yahoo dot com
Trying to correct the report's title.
 [2009-04-27 12:47 UTC] kalle@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

Fixed by Hannes last month
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 13:00:02 2026 UTC