Date: 01/21/99
- Next message: Bug Database: "[PHP-DEV] Bug #1086 Updated: sort() does not compare after first word"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] connection_aborted() function for apache."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: dreich <email protected>
Operating system: Linux Kernel 2.0.36
PHP version: 3.0.5
PHP Bug Type: Misbehaving function
Bug description: sort() does not compare after first word
Here's the situation, I create an array with a series of strings like so:
$BigArray = array("HOWTO talk", "HOWTO listen", "HOWTO be quiet");
and then I run sort() against the array. The problem is sort doesn't seem to look beyond the first word within the array. In theory after sort it should appear in this order:
HOWTO listen
HOWTO talk
HOWTO be quiet
but what I get is the original order.
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #1086 Updated: sort() does not compare after first word"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] connection_aborted() function for apache."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

