Skip to content

ext/uri: Fixes fragment handler registration - #23303

Merged
kocsismate merged 2 commits into
php:masterfrom
NickSdot:fix/ext-uri-getfragment
Aug 16, 2026
Merged

ext/uri: Fixes fragment handler registration#23303
kocsismate merged 2 commits into
php:masterfrom
NickSdot:fix/ext-uri-getfragment

Conversation

@NickSdot

Copy link
Copy Markdown
Contributor

While working on #23286 the handler surfaced as uncovered. 18836 aliased, then 19636 added other aliases but also added the getFragment handler back without removing its alias, which left it unused. In this PR:

  • commit 1: drops alias to make handler used
  • commit 2: opposite of 1; drops unused handler

Timeline-wise it seems the intention was adding the handler back, but I don't see why -- so I am once again removing it here. If instead making the handler used is preferred, I can drop commit 2.

@kocsismate

Copy link
Copy Markdown
Member

Thanks for noticing this! I can confirm that the handler is not necessary, using the implementation alias is fine (and that was the intention, but I probably got confused. :)

@kocsismate
kocsismate merged commit db9d9cc into php:master Aug 16, 2026
18 checks passed
@NickSdot
NickSdot deleted the fix/ext-uri-getfragment branch August 17, 2026 03:05
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.

2 participants