Skip to content

[Sync-En] Locale::parseLocale: document that an empty string uses the default locale - #1318

Merged
julionc merged 1 commit into
php:masterfrom
lacatoire:sync-en/1304-parse-locale-empty-string
Sep 18, 2026
Merged

julionc merged 1 commit into
php:masterfrom
lacatoire:sync-en/1304-parse-locale-empty-string

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Translation of php/doc-en#5851 (commit 815ee76): an empty locale falls back to locale_get_default(), with a new example, and the return value now uses the shared INTL_MAX_LOCALE_LEN entity. EN-Revision updated.

Fixes: #1304

@julionc
julionc merged commit 6878d2a into php:master Sep 18, 2026
4 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 that Locale::parseLocale() uses the default locale on empty string (#5851)

2 participants