On Thu, Jul 31, 2025, at 17:33, Rowan Tommins [IMSoP] wrote:
> 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 place
> 
> 
> I don't understand the distinction here; you want to continue code at a 
> particular point (control flow), and unwind the stack (state management).

Unconditionally, yes. This is more like a bailout of user code, not throwing 
the exception would enter an infinite loop or cause an error. So, it’s kind of 
a gray area between flow control and exceptional. 

> 
> 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]
> 

lol. Fair enough. 

— Rob

Reply via email to