[php-src] PR #20173: uri: Make uri_parser_rfc3986.h usable for external extensions
| From: | TimWolla | Date: | Wed, 15 Oct 2025 07:13:19 +0000 |
| Subject: | [php-src] PR #20173: uri: Make uri_parser_rfc3986.h usable for external extensions | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33650@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20173
Author: TimWolla
This header could not previously be used due to the
uriparser/Uri.h include, which is
required for the struct definition. Since this struct is considered an implementation detail, we can
just make it opaque, preserving type safety, but without allowing external users to touch its
contents.
Fixes php/php-src#19868.
-----------------
RMs: This technically is an API change, but since the header was not previously usable externally
and since it doesn't affect ABI (the struct is the same), it should hopefully be good.