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
strnatcasecmp('0A', '5N') incorrectly returns 1. PHP 5.6.16 and PHP 7 correctly return -1.
strnatcasecmp('0A', '5N')
1
-1
The text was updated successfully, but these errors were encountered:
Reimplemented strnatcmp and strnatcasecmp to follow PHP more strictly
8ad852f
Fixes issue #268 Added _php_cast_string helper to have one place for type conversion that follows PHP's logic
This issue is fixed now.
Sorry, something went wrong.
Thanks so much @kukawski ! Would you mind also posting here when the fix is released?
Hey there, I just pushed out v2.0.5 which contains this work.
kukawski
No branches or pull requests
strnatcasecmp('0A', '5N')
incorrectly returns1
. PHP 5.6.16 and PHP 7 correctly return-1
.The text was updated successfully, but these errors were encountered: