Skip to content

Conversation

@takaram
Copy link
Contributor

@takaram takaram commented Nov 30, 2025

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

@iluuu1994
Copy link
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
Member

Thank you @takaram!

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