Skip to content

Update ext/session spl dependency #14410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 1, 2024
Merged

Conversation

petk
Copy link
Member

@petk petk commented Jun 1, 2024

The spl dependency is configured so the spl_autoload_register is available when session_start() is used, meaning the spl extension needs to be loaded before the session. It is marked as optional to be more explicit as spl is not directly used nor required in the session extension.

Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I get back round to the functioning autoloading RFC I need to remember to remove the dependency on SPL for session then.

The spl dependency is configured so the spl_autoload_register is
available when session_start() is used, meaning the spl extension needs
to be loaded before the session. It is marked as optional to be more
explicit as spl is not directly used nor required in the session
extension.
@petk petk force-pushed the patch-session-dep-spl branch from fdd6aa2 to 4431cc3 Compare June 1, 2024 17:13
@petk petk merged commit ec50b17 into php:master Jun 1, 2024
8 of 11 checks passed
@petk petk deleted the patch-session-dep-spl branch June 1, 2024 17:13
@petk
Copy link
Member Author

petk commented Jun 1, 2024

Sounds nice RFC. Yes, this can be then removed if so. I also scan these on the regular basis, so at some point it won't get missed.

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