php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #61100 Documentation should note that return errors are indexes
Submitted: 2012-02-15 21:26 UTC Modified: 2012-11-16 14:22 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: hutchinson dot paul at gmail dot com Assigned: krakjoe (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: NA
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hutchinson dot paul at gmail dot com
New email:
PHP Version: OS:

 

 [2012-02-15 21:26 UTC] hutchinson dot paul at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/datetime.getlasterrors#refsect1-datetime.getlasterrors-returnvalues
---

DateTime::getLastErrors documentation should note that the return errors are not error codes, but instead are the index where the error was found.

Suggested change:
Returns array containing info about warnings and errors.  The errors/warnings are indexed by the position in the string where the error/warning was found.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-11-16 14:21 UTC] krakjoe@php.net
Automatic comment from SVN on behalf of krakjoe
Revision: http://svn.php.net/viewvc/?view=revision&revision=328383
Log: bug #61100
 [2012-11-16 14:22 UTC] krakjoe@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.


 [2012-11-16 14:22 UTC] krakjoe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 00:00:02 2026 UTC