Skip to content

ext/session: add mod_user_uses_object_methods_as_handlers global #21225

Merged
Girgias merged 2 commits intophp:masterfrom
Girgias:session-internals-tim-fix
Feb 16, 2026
Merged

ext/session: add mod_user_uses_object_methods_as_handlers global #21225
Girgias merged 2 commits intophp:masterfrom
Girgias:session-internals-tim-fix

Conversation

@Girgias
Copy link
Copy Markdown
Member

@Girgias Girgias commented Feb 16, 2026

This solves the use case of knowing if the session handlers are methods of an object or individual handlers without relying on the now removed mod_user_names global.

This reduces the size of the global struct from 448 bytes to 432 bytes
This solves the use case of knowing if the session handlers are methods of an object or individual handlers without relying on the now removed mod_user_names global.
@Girgias Girgias marked this pull request as ready for review February 16, 2026 14:27
@Girgias Girgias merged commit 99bf26b into php:master Feb 16, 2026
9 of 10 checks passed
@Girgias Girgias deleted the session-internals-tim-fix branch February 16, 2026 14:27
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