php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71347 Class ParseError: abstract methods are actually concrete
Submitted: 2016-01-12 09:23 UTC Modified: 2016-03-26 21:06 UTC
From: salsi at icosaedro dot it Assigned: krakjoe (profile)
Status: Closed Package: Documentation problem
PHP Version: 7.0.2 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: salsi at icosaedro dot it
New email:
PHP Version: OS:

 

 [2016-01-12 09:23 UTC] salsi at icosaedro dot it
Description:
------------
All the methods of the ParseError class are listed as "abstract" whereas they actually are concrete and inherited from Error, as the ReflectionClass::export("ParseError") function states on the latest PHP 7 from repository.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-01-12 09:30 UTC] salsi at icosaedro dot it
Same issue for the following classes:

TypeError
ArithmeticError
AssertionError
DivisionByZeroError

where all the methods are concrete and inherited from Error.
 [2016-03-26 21:05 UTC] krakjoe@php.net
Automatic comment from SVN on behalf of krakjoe
Revision: http://svn.php.net/viewvc/?view=revision&revision=338826
Log: fix bug #71347: some builtin error exceptions were documented incorrectly
 [2016-03-26 21:06 UTC] krakjoe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2016-03-26 21:06 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.


 [2020-02-07 06:07 UTC] phpdocbot@php.net
Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=5195f04ffd9506e112676892c516a4d95f418f39
Log: fix bug #71347: some builtin error exceptions were documented incorrectly
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 22:01:29 2024 UTC