Bug #1086: sort() does not compare after first word
| From: | dreich at norsec dot com | Date: | Thu, 21 Jan 1999 18:05:31 +0000 |
| Subject: | Bug #1086: sort() does not compare after first word | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3668@lists.php.net to get a copy of this message | ||
From: dreich@norsec.com
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@lists.php.net
For help: php-dev-help@lists.php.net