PHP 4.0 Bug #6512 Updated: sort() Does not sort stings as expected
| From: | Bug Database | Date: | Sun, 03 Sep 2000 12:26:36 +0000 |
| Subject: | PHP 4.0 Bug #6512 Updated: sort() Does not sort stings as expected | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31795@lists.php.net to get a copy of this message | ||
ID: 6512
Updated by: jmoore
Reported By: jmoore@php.net
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
natcasesort() and natsort() do this, I will add a see also for natcasesort to sort.
Previous Comments:
[2000-09-03 08:26:36] jmoore@php.net
natcasesort() and natsort() do this, I will add a see also for natcasesort to sort.
----------------------------------------------------------------------------
[2000-09-03 07:21:36] waldschrott@php.net
I´d vote for adding another option to all sorting functions,
like SORT_CASED, maybe the bit way
asort($x,SORT_STRING|SORT_CASED)
----------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6512