Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
imaginedbyme opened this issue Jan 22, 2025 · 1 comment
Closed

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

imaginedbyme opened this issue Jan 22, 2025 · 1 comment

Comments

@imaginedbyme
Copy link

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
@damianwadley
Copy link
Member

I've added this to #4353.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants