We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$ hhvm --php -r "var_dump(fnmatch('foob?r', 'foobér'));" bool(false) $ php5 -r "var_dump(fnmatch('foob?r', 'foobér'));" bool(true)
This is because:
$ hhvm --php -r 'var_dump(setlocale(LC_ALL,0));' string(1) "C" $ php5 -r 'var_dump(setlocale(LC_ALL,0));' string(170) "LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C"
PHP calls setlocale(LC_CTYPE, "") on initialization, but HHVM sticks to the POSIX/C locale.
The text was updated successfully, but these errors were encountered:
Low pri because it's best practice to explicitly set it anyway to avoid issues where your production environment and development environment differ.
Sorry, something went wrong.
de74284
sgolemon
No branches or pull requests
This is because:
PHP calls setlocale(LC_CTYPE, "") on initialization, but HHVM sticks to the POSIX/C locale.
The text was updated successfully, but these errors were encountered: