Re: [RFC] Optional Catch Block Body
| From: | Rowan Tommins [IMSoP] | Date: | Thu, 31 Jul 2025 15:33:27 +0000 |
| Subject: | Re: [RFC] Optional Catch Block Body | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-128348@lists.php.net to get a copy of this message | ||
On 31/07/2025 15:17, Rob Landers wrote:
They're not used for flow control, or state. They merely force PHP to unwind the stack to a known placeI don't understand the distinction here; you want to continue code at a particular point (control flow), and unwind the stack (state management). That doesn't mean your use case isn't valid, but it's like saying "it's not a knife, it's merely a sharpened metallic implement used to cut things". -- Rowan Tommins [IMSoP]