[php-src] PR #18632: Fix GH-18566: [intl] Weird numeric sort in Collator
| From: | nielsdos | Date: | Sat, 24 May 2025 10:47:29 +0000 |
| Subject: | [php-src] PR #18632: Fix GH-18566: [intl] Weird numeric sort in Collator | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31770@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18632
Author: nielsdos
This aligns the behaviour with normal (non-intl) asort() by making the following changes:
- Use the same trailing whitespace logic as Zend's is_numeric_ex()
- Don't allow errors on trailing data
Targeting master because of the BC break.