PHP 4.0 Bug #5730 Updated: sort and rsort are not 'opposites'
| From: | Bug Database | Date: | Sun, 23 Jul 2000 09:03:42 +0000 |
| Subject: | PHP 4.0 Bug #5730 Updated: sort and rsort are not 'opposites' | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25547@lists.php.net to get a copy of this message | ||
ID: 5730
Updated by: stas
Reported By: the_jalal@yahoo.com
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
This is how it is meant to work. By default PHP sorts is
"numeric". If you need "string" sort, use sort($arr,SORT_STRING).
Full Bug description available at: http://bugs.php.net/?id=5730