Skip to content

Accessing a string using array brackets is not multi-byte safe #7

@hxss

Description

@hxss

$opcode = $operationCodes[$operationCodesOffset];

Hello. Please replace the offset operator with mb_substr. I have an issue with emoji or cyrillic symbols that uses more than 1 byte.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions