[php-src] PR #19850: uri: Throw `UriError` for unexpected failures in uri_parser_rfc3986
| From: | TimWolla | Date: | Mon, 15 Sep 2025 19:59:39 +0000 |
| Subject: | [php-src] PR #19850: uri: Throw `UriError` for unexpected failures in uri_parser_rfc3986 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33237@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19850
Author: TimWolla
This is a follow-up for #19779 which updated the error *messages* for the non-syntax errors, but did
not update the exception class, still implying it's related to invalid URIs.
Given that we don't know ourselves if these are reachable in practice, they are cannot be
meaningfully handled by a user of PHP. Thus this should be a
Error according to our
exception policy.