Req #55158 [Opn->Tbd]: Add SORT_NATURAL type to array_multisort
Edit report at https://bugs.php.net/bug.php?id=55158&edit=1
ID: 55158
Updated by: arpad@php.net
Reported by: joe dot lencioni+php at gmail dot com
Summary: Add SORT_NATURAL type to array_multisort
-Status: Open
+Status: To be documented
Type: Feature/Change Request
Package: Arrays related
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
Added SORT_NATURAL and SORT_FLAG_CASE which affects sort, rsort, ksort, krsort, asort, arsort and
array_multisort.
Previous Comments:
------------------------------------------------------------------------
[2011-08-29 20:23:58] derick@php.net
Automatic comment from SVN on behalf of derick
Revision: http://svn.php.net/viewvc/?view=revision&revision=315737
Log: - Zend engine part for bug #55158: Add SORT_NATURAL type to array_multisort
(patch by Arpad Ray).
------------------------------------------------------------------------
[2011-08-04 16:01:25] arpad@php.net
The following patch has been added/updated:
Patch Name: php-trunk-array_multisort-natural-case-new-tests
Revision: 1312473685
URL: https://bugs.php.net/patch-display.php?bug=55158&patch=php-trunk-array_multisort-natural-case-new-tests&revision=1312473685
------------------------------------------------------------------------
[2011-08-04 16:01:09] arpad@php.net
The following patch has been added/updated:
Patch Name: php-trunk-array_multisort-natural-case-old-tests
Revision: 1312473669
URL: https://bugs.php.net/patch-display.php?bug=55158&patch=php-trunk-array_multisort-natural-case-old-tests&revision=1312473669
------------------------------------------------------------------------
[2011-08-04 16:00:47] arpad@php.net
The following patch has been added/updated:
Patch Name: php-trunk-array_multisort-natural-case
Revision: 1312473647
URL: https://bugs.php.net/patch-display.php?bug=55158&patch=php-trunk-array_multisort-natural-case&revision=1312473647
------------------------------------------------------------------------
[2011-07-12 12:00:15] arpad@php.net
The patch I just added implements SORT_NATURAL and also adds SORT_CASE which can be combined with
SORT_STRING and SORT_NATURAL to make the sorting case-insensitive.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=55158
--
Edit this bug report at https://bugs.php.net/bug.php?id=55158&edit=1
Thread (8 messages)