Re: Feature request: https://github.com/php/php-src/issues/13301
| From: | Alex Wells | Date: | Tue, 06 Feb 2024 15:23:01 +0000 |
| Subject: | Re: Feature request: https://github.com/php/php-src/issues/13301 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-122298@lists.php.net to get a copy of this message | ||
On Tue, Feb 6, 2024 at 3:58 PM Григорий Senior PHP / Разработчик Web <
6562680@gmail.com> wrote:
> - add non-breakable interface and language construct
raise to
> "throw"
> error without collecting trace
> - that error could be any scalar or object, or you can implement new
> interface for them, keeping that is nested and taggable array
> - this raise could be catched same way as \Throwable allowing
> log it
> anywhere you need or re-raise again
> - raise statement won't start to collapse/break code, so
> it could be
> skipped without affecting application
>
Is there an existing language that does that, having both exceptions and
these silent raise statements?