Skip to content

Fix TypeError message of setlocale() - #20625

Merged
alexandre-daubois merged 1 commit into
php:PHP-8.5from
takaram:setlocale-typeerror-message
Dec 6, 2025
Merged

alexandre-daubois merged 1 commit into
php:PHP-8.5from
takaram:setlocale-typeerror-message

Conversation

@takaram

@takaram takaram commented Nov 30, 2025

Copy link
Copy Markdown
Contributor

#19071 allowed setlocale($typs, null), but the error message of TypeError was not changed.
This PR fixes the error message.

@iluuu1994

Copy link
Copy Markdown
Member

@bukka @alexandre-daubois Can either of you merge this so it's not forgotten?

@alexandre-daubois
alexandre-daubois merged commit 5528df1 into php:PHP-8.5 Dec 6, 2025
9 of 10 checks passed
alexandre-daubois added a commit that referenced this pull request Dec 6, 2025
* PHP-8.5:
  Fix TypeError message of `setlocale()` (#20625)
@alexandre-daubois

Copy link
Copy Markdown
Member

Thank you @takaram!

@takaram
takaram deleted the setlocale-typeerror-message branch December 31, 2025 09:26
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.

4 participants