Skip to content

ext/spl: refactor class autoloading to use newer FCC APIs#20841

Merged
Girgias merged 5 commits intophp:masterfrom
Girgias:autoloader-fcc-api
Jan 20, 2026
Merged

ext/spl: refactor class autoloading to use newer FCC APIs#20841
Girgias merged 5 commits intophp:masterfrom
Girgias:autoloader-fcc-api

Conversation

@Girgias
Copy link
Copy Markdown
Member

@Girgias Girgias commented Jan 5, 2026

Commits should be reviewed individually.

The primary motivation for me to introduce the newer FCC APIs was to make it easier to handle userland callables as the class autoloading system had a few bugs due to the complex semantics.

This is effectively taking the class autoloading part of #8294 as it is a straight-up code clarity improvement.

@Girgias Girgias requested a review from ndossche January 5, 2026 17:50
@Girgias Girgias marked this pull request as ready for review January 5, 2026 23:43
Comment thread ext/spl/php_spl.c Outdated
Comment thread ext/spl/php_spl.c Outdated
Comment thread ext/spl/php_spl.c Outdated
Comment thread ext/spl/php_spl.c Outdated
Comment thread ext/spl/php_spl.c Outdated
Comment thread ext/spl/php_spl.c Outdated
@Girgias Girgias force-pushed the autoloader-fcc-api branch from 9304196 to cb596b2 Compare January 11, 2026 14:28
@Girgias Girgias requested a review from ndossche January 11, 2026 14:28
@Girgias Girgias force-pushed the autoloader-fcc-api branch from cb596b2 to 8ca47c8 Compare January 11, 2026 19:57
@Girgias
Copy link
Copy Markdown
Member Author

Girgias commented Jan 11, 2026

@ndossche done your suggestion and saw something else that I could clean up so pushed one extra commit. :)

Comment thread ext/spl/php_spl.c
@Girgias Girgias force-pushed the autoloader-fcc-api branch from 8ca47c8 to 12076d5 Compare January 20, 2026 19:15
@ndossche
Copy link
Copy Markdown
Member

Test failures aren't related

@Girgias Girgias merged commit 0f4fd2d into php:master Jan 20, 2026
6 of 10 checks passed
@Girgias Girgias deleted the autoloader-fcc-api branch January 20, 2026 20:54
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