Skip to content

Locale::parseLocale default locale on empty string argument #5597

Description

@ekes

From manual page: https://php.net/locale.parselocale


Similar to #5596 parseLocale will use the default locale if the argument is an empty string also https://3v4l.org/vVCo23#veol
I'd make an MR for this one, but I'm not sure I remember if there is a format for putting defaults that aren't NULL defaults. Just add it in the description text for the argument?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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