#47556 [Opn]: DateTime::Modify() doesn't return a value prior to PHP 5.3
| From: | gmtfn at yahoo dot com | Date: | Wed, 04 Mar 2009 09:51:01 +0000 |
| Subject: | #47556 [Opn]: DateTime::Modify() doesn't return a value prior to PHP 5.3 | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1937@lists.php.net to get a copy of this message | ||
ID: 47556
User updated by: gmtfn at yahoo dot com
-Summary: Tricky, undocumented trait of global keyword
Reported By: gmtfn at yahoo dot com
Status: Open
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
Trying to correct the report's title.
Previous Comments:
------------------------------------------------------------------------
[2009-03-04 09:48:56] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47556&edit=1