|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #52506 Remove "final" modifier from exception's methods
Submitted: 2010-07-31 16:19 UTC Modified: 2020-03-28 15:53 UTC
Avg. Score:4.0 ± 1.2
Reproduced:4 of 5 (80.0%)
Same Version:3 (75.0%)
Same OS:3 (75.0%)
From: giorgio dot liscio at email dot it Assigned:
Status: Re-Opened Package: Class/Object related
PHP Version: Next Major Version OS: all
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.
Block user comment
Status: Assign to:
Bug Type:
From: giorgio dot liscio at email dot it
New email:
PHP Version: OS:


 [2010-07-31 16:19 UTC] giorgio dot liscio at email dot it
hi, it is possible to remove the final modifier from the defined methods in Exception?

they are incredibly limiting

thank you


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-05 06:28 UTC] crrrodriguez at opensuse dot org
Nope, See
 [2010-08-06 07:33 UTC] giorgio dot liscio at email dot it
i know, but it is a request
 [2010-08-16 02:03 UTC]
-Type: Bug +Type: Feature/Change Request
 [2020-03-28 15:47 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: carusogabriel
 [2020-03-28 15:47 UTC]
Since PHP 7, we have the Throwable interface (, which solves this problem.
 [2020-03-28 15:49 UTC]
@carusogabriel: How does Throwable help here? Userland implementations of Throwable are forbidden.
 [2020-03-28 15:53 UTC]
-Summary: remove "final" from exception's methods +Summary: Remove "final" modifier from exception's methods -Status: Closed +Status: Re-Opened -PHP Version: 5.3.3 +PHP Version: Next Major Version -Assigned To: carusogabriel +Assigned To:
 [2020-03-28 15:53 UTC]
@nikic: My bad, I thought that we allowed this kind of implementation:
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 26 06:01:31 2024 UTC