Skip to content

setlocale($type, NULL) should not be deprecated #19070

@remicollet

Description

@remicollet

Description

Since 43c18f3

A simple setlocale(LC_ALL, NULL) raise a deprecation

This is the common way to retrieve the current locale (else we need a getlocale function)

From the setlocale unix man page

   If locale is NULL, the current locale is only queried, not modified.

Can you please consider removing this change

Ex: m6w6/ext-http#148

PHP Version

PHP 8.5.0alpha1

Operating System

No response

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions