Re: [VOTE] Exceptions in the engine
| From: | Stanislav Malyshev | Date: | Thu, 30 Apr 2015 00:50:44 +0000 |
| Subject: | Re: [VOTE] Exceptions in the engine | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86052@lists.php.net to get a copy of this message | ||
Hi!
>> The vote for this missed the boat for the PHP 7 deadline. However, if
>> we really want to do this we should do it in PHP 7 or not at all (at
>> least not for a long time) due to BC breaks.
>>
>> Thoughts?
It's kind of hard to recover the context here, but I assume it's
https://wiki.php.net/rfc/throwable and replacing
BaseException with
Throwable. I like the idea, however we do have the deadline and the
deadline has been passed. So I wonder if we can't keep it for 7.1 with
the following modification (assuming the RFC passes):
- BaseException implements Throwable
- BaseException is deprecated in 7.1
- BaseException is removed in 7.2 or 8.0
Also I don't see Error class though it was mentioned in the previous
discussion. Was it dropped for a reason?
--
Stas Malyshev
smalyshev@gmail.com