Skip to content

Conversation

@Girgias
Copy link
Member

@Girgias Girgias commented Jan 22, 2026

The primary motivation for this change is that this sort of functionality should reside in core and not in an extension.
The reason being is that this causes issues in regard to extension dependencies and resolution, something that prevents GH-14544.

Moreover, we might want to extend the autoloading functionality (by allowing other symbols to be autoloader or registering a class map).

The primary motivation for this change is that this sort of functionality should reside in Core and not in an extension.
The reason being is that this causes issues in regards to extension dependencies and resolution, something that prevents phpGH-14544
@Girgias
Copy link
Member Author

Girgias commented Jan 22, 2026

@petk would doing just this allow #14544 to be merged?

@petk
Copy link
Member

petk commented Jan 22, 2026

This would make the session extension not depend on the spl, yes (meaning the https://bugs.php.net/53141 would be resolved). But the main issue there would still be present - that loop of the registered extensions isn't done optimal yet and it has issues with cyclic dependencies (extension A depends on B, and extension B depends on A).

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