Skip to content

Conversation

TimWolla
Copy link
Member

@TimWolla TimWolla commented Sep 7, 2025

No description provided.

…hatwg

Previously, when `errors` was `NULL`, the `errors` pointer was used to set the
`$errors` property when throwing the exception, leading to a crash. Use a local
zval to pass the errors to the Exception and copy it into the `errors` input
when it is non-`NULL`.
…stantiate_uri()`

This is no longer necessary since the previous commit and also is a layering
violation, since `php_uri_instantiate_uri()` should not care how `parse_uri()`
works internally.
@TimWolla TimWolla requested a review from nielsdos September 7, 2025 17:00
@TimWolla
Copy link
Member Author

TimWolla commented Sep 8, 2025

Test failures are all due to the known ext/intl leak. Merging.

@TimWolla TimWolla merged commit 156c847 into php:master Sep 8, 2025
4 of 9 checks passed
@TimWolla TimWolla deleted the whatwg-errors-null branch September 8, 2025 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants