Skip to content

[Sync-En] array: note SORT_REGULAR with numeric strings in array_unique() - #1145

Merged
julionc merged 1 commit into
php:masterfrom
lacatoire:sync-en/1113-array-unique-sort-regular
Aug 28, 2026
Merged

[Sync-En] array: note SORT_REGULAR with numeric strings in array_unique()#1145
julionc merged 1 commit into
php:masterfrom
lacatoire:sync-en/1113-array-unique-sort-regular

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Sync with EN commit 47cbf365f535be1517473eee446e94d096778ca8.

Adds the translated note under the SORT_REGULAR list item, warning that mixing numeric and non-numeric strings with SORT_REGULAR may leave duplicates, and that SORT_STRING should be used instead.

Removes the obsolete <!-- Reviewed --> and <!-- $Revision$ --> markers.

Fixes: #1113

@julionc
julionc merged commit b838b51 into php:master Aug 28, 2026
4 checks passed
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

Successfully merging this pull request may close these issues.

[Sync EN] Add note about SORT_REGULAR + numeric strings bug to array_unique() (#4958)

2 participants