Req #52506 [Csd->ReO]: Remove "final" modifier from exception's methods
| From: | carusogabriel@php.net | Date: | Sat, 28 Mar 2020 15:53:48 +0000 |
| Subject: | Req #52506 [Csd->ReO]: Remove "final" modifier from exception's methods | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-226296@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=52506&edit=1
ID: 52506
Updated by: carusogabriel@php.net
Reported by: giorgio dot liscio at email dot it
-Summary: remove "final" from exception's methods
+Summary: Remove "final" modifier from exception's methods
-Status: Closed
+Status: Re-Opened
Type: Feature/Change Request
Package: Class/Object related
Operating System: all
-PHP Version: 5.3.3
+PHP Version: Next Major Version
-Assigned To: carusogabriel
+Assigned To:
Block user comment: N
Private report: N
New Comment:
@nikic: My bad, I thought that we allowed this kind of implementation: https://3v4l.org/TnoBh.
Previous Comments:
------------------------------------------------------------------------
[2020-03-28 15:49:00] nikic@php.net
@carusogabriel: How does Throwable help here? Userland implementations of Throwable are forbidden.
------------------------------------------------------------------------
[2020-03-28 15:47:02] carusogabriel@php.net
Since PHP 7, we have the Throwable interface (https://php.net/throwable), which solves this problem.
------------------------------------------------------------------------
[2010-08-06 07:33:42] giorgio dot liscio at email dot it
i know, but it is a request
------------------------------------------------------------------------
[2010-08-05 06:28:13] crrrodriguez at opensuse dot org
Nope, See http://php.net/language.exceptions.extending.php
------------------------------------------------------------------------
[2010-07-31 16:19:13] giorgio dot liscio at email dot it
Description:
------------
hi, it is possible to remove the final modifier from the defined methods in Exception?
they are incredibly limiting
thank you
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=52506&edit=1