Skip to content

[Sync-En] session: read() returns false to report a failure, an empty string for no data - #3636

Merged
lacatoire merged 1 commit into
php:masterfrom
lacatoire:sync-en/session-read-handler
Oct 5, 2026
Merged

lacatoire merged 1 commit into
php:masterfrom
lacatoire:sync-en/session-read-handler

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Translation of php/doc-en#5902 (commit 38bdb42): a session read handler returns an empty string when there is no data and false only to report a failure, in session_set_save_handler(), SessionHandler::read() and SessionHandlerInterface::read(). EN-Revision updated.

Also in these files: restored a missing sentence in the session_set_save_handler() warning, fixed the spacing before a colon, and translated "must" as "doit" in SessionHandlerInterface::read().

Fixes: #3630

@lacatoire
lacatoire merged commit bbf4a7b into php:master Oct 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sync EN] Fix session read handler docs: false reports a failure, not a missing session (#5902)

1 participant