Skip to content

[Sync-En] gettext: document the missing ValueErrors - #3800

Merged
lacatoire merged 1 commit into
php:masterfrom
lacatoire:sync-en/gettext
Nov 9, 2026
Merged

lacatoire merged 1 commit into
php:masterfrom
lacatoire:sync-en/gettext

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Translation of php/doc-en#6044 (commit 2a1443c84d): the gettext functions now document the ValueError cases (domain, message and category limits, null bytes, "0") in their Errors and Changelog sections, and the return values of bind_textdomain_codeset and bindtextdomain are clarified.

EN-Revision updated.

Fixes: #3795

@lacatoire
lacatoire merged commit 936fbd2 into php:master Nov 9, 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] Document the missing ValueErrors for the gettext functions (#6044)

1 participant