Req #52506 [Csd]: remove "final" from exception's methods
| From: | nikic@php.net | Date: | Sat, 28 Mar 2020 15:49:00 +0000 |
| Subject: | Req #52506 [Csd]: remove "final" from exception's methods | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-226295@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: nikic@php.net
Reported by: giorgio dot liscio at email dot it
Summary: remove "final" from exception's methods
Status: Closed
Type: Feature/Change Request
Package: Class/Object related
Operating System: all
PHP Version: 5.3.3
Assigned To: carusogabriel
Block user comment: N
Private report: N
New Comment:
@carusogabriel: How does Throwable help here? Userland implementations of Throwable are forbidden.
Previous Comments:
------------------------------------------------------------------------
[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