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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
21 - 12 = ?
Subscribe to this entry?

 
 [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: Sat May 04 03:01:30 2024 UTC