You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
setlocale($type, NULL) should not be deprecated #19070
Activity
remicollet commentedon Jul 8, 2025
ping @nielsdos as the author of the change
[-]setlocale($type, NULL) shoud not be deprecated[/-][+]setlocale($type, NULL) should not be deprecated[/+]remicollet commentedon Jul 8, 2025
Notice: our documentation is confusing
Only null returns the current setting.
remicollet commentedon Jul 8, 2025
Also see documentation update proposal in https://github.com/php/doc-en/pull/4765/files
ndossche commentedon Jul 8, 2025
Unintentional break! I'll go fix it. It should indeed accept NULL.
Fix phpGH-19070: setlocale($type, NULL) should not be deprecated
Fix phpGH-19070: setlocale($type, NULL) should not be deprecated