Skip to content

ext/session: Remove module_number from session globals - #25657

Merged
jorgsowa merged 1 commit into
php:masterfrom
jorgsowa:session-remove-module-number-global
Nov 22, 2026
Merged

jorgsowa merged 1 commit into
php:masterfrom
jorgsowa:session-remove-module-number-global

Conversation

@jorgsowa

Copy link
Copy Markdown
Contributor

It was a per-thread copy of the process-wide module number. Also drop MINIT writes to globals already set by GINIT.

It was a per-thread copy of the process-wide module number. Also drop
MINIT writes to globals already set by GINIT.
@Girgias

Girgias commented Nov 22, 2026

Copy link
Copy Markdown
Member

Why do we even need the module number?

@jorgsowa

Copy link
Copy Markdown
Contributor Author

It's for cleanup of modules' symbols, ini values etc. I don't think it should be removed.

@jorgsowa
jorgsowa merged commit 11c9b60 into php:master Nov 22, 2026
18 checks passed
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