Re: [RFC] [Discussion] Add WHATWG compliant URL parsing API

From: Date: Thu, 17 Apr 2025 21:14:55 +0000
Subject: Re: [RFC] [Discussion] Add WHATWG compliant URL parsing API
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message


> On Apr 17, 2025, at 15:58, Tim Düsterhus <[email protected]> wrote:
> 
> Hi
> 
> On 4/17/25 22:47, Paul M. Jones wrote:
>> As such, the _InvalidUriException_ would better extend from _LogicException_.
> 
> No. There is a de facto policy of “not using SPL exceptions in new code”. The replacement
> for LogicException is the Error hierarchy.

Ah so -- I was not aware. I retract the comment, and thanks for the correction.


-- pmj


Thread (152 messages)

« previous php.internals (#127143) next »