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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 09:00:02 2026 UTC