PHP 4.0 Bug #6195 Updated: array_multisort accepts only one SORT_REGULAR|SORT_NUMERIC|SORT_STRING flag

From: Date: Wed, 16 Aug 2000 13:52:24 +0000
Subject: PHP 4.0 Bug #6195 Updated: array_multisort accepts only one SORT_REGULAR|SORT_NUMERIC|SORT_STRING flag
Groups: php.dev 
Request: Send a blank email to php-dev+get-29140@lists.php.net to get a copy of this message
ID: 6195 Updated by: andrei Reported By: alex@zend.com Status: Closed Bug Type: Misbehaving function Assigned To: Comments: That's how array_multisort() works. The second array will not be sorted if all the entries in the first array are unique. Only those entries corresponding to duplicate entries in the first array will be sorted. Think of the SQL "order by" behavior when used on multiple columns. Full Bug description available at: http://bugs.php.net/?id=6195

« previous php.dev (#29140) next »