Re: exit() via exception
| From: | Marcio Almada | Date: | Fri, 11 Oct 2019 14:01:41 +0000 |
| Subject: | Re: exit() via exception | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-107507@lists.php.net to get a copy of this message | ||
> I have one simple suggestion: Introduce
EngineShutdown ->
> Throwable,
> bind exit|die to it but disallow
> catch(\EngineShutdown $e) at compile time. This would allow
> keeping
> backwards compatibility to
> scenario 2 without messing with our current exception hierarchy.
>
> > Nikita
>
Sorry, in the latest message I meant introducing EngineShutdown without
extending Throwable:
> Thanks,
> Márcio