PHP 4.0 Bug #6512 Updated: sort() Does not sort stings as expected

From: Date: Sun, 03 Sep 2000 12:35:55 +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-31797@lists.php.net to get a copy of this message
ID: 6512 Updated by: jmoore Reported By: jmoore@php.net Status: Analyzed Bug Type: Feature/Change Request Assigned To: Comments: OK Chaning to feature/change request and reopening. (The function isnt really misbehaving...) Previous Comments: [2000-09-03 08:35:55] jmoore@php.net OK Chaning to feature/change request and reopening. (The function isnt really misbehaving...) ---------------------------------------------------------------------------- [2000-09-03 08:31:45] waldschrott@php.net well, natcasesort() does this for natural sorting, but regular/string/numeric sorting can´t be sorted cased... not sure if it should be closed... ---------------------------------------------------------------------------- [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

« previous php.dev (#31797) next »