Re: exit() via exception
| From: | Sebastian Bergmann | Date: | Fri, 11 Oct 2019 12:47:58 +0000 |
| Subject: | Re: exit() via exception | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-107503@lists.php.net to get a copy of this message | ||
Am 11.10.2019 um 13:05 schrieb Nikita Popov:
Depending on the implementation, we could also allow code to actually catch this exception, which may be useful for testing scenarios, as well as long-running daemons.This sounds interesting :)
Anyone have thoughts on this matter?I think \Throwable should always include all objects that can be used with throw and catch.