Skip to content

Ord pages second example doesn't run, produces an error #4411

Closed as duplicate of#4353
@imaginedbyme

Description

@imaginedbyme

From manual page: https://php.net/function.ord


Pressing the "Run Code" button for "Example #2 Examining the individual bytes of a UTF-8 string" produces the following error:

Warning: declare(encoding=...) ignored because Zend multibyte feature is turned off by settings in php-wasm run script on line 2
Fatal error: Encoding declaration pragma must be the very first statement in the script in php-wasm run script on line 2

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