Skip to content

mb_strlen & friends error section for $encoding #2751

@ndossche

Description

@ndossche

https://www.php.net/manual/en/function.mb-strlen.php mentions in the error section that a warning may be raised with an invalid encoding. But that's not what happens: https://3v4l.org/E9s0i. A ValueError is raised instead.
For some other pages, the error condition for $encoding is also not specified. I only had a quick look instead of composing a list of all the pages that lack one.

Metadata

Metadata

Assignees

No one assigned

    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