ksort feature ???
| From: | Mikhail Avrekh | Date: | Mon, 12 Jun 2000 22:32:18 +0000 |
| Subject: | ksort feature ??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1674@lists.php.net to get a copy of this message | ||
Hello,
I wonder if the following is a bug or a feature in PHP3:
I create a hash with float (%.1f) numbers for the keys; when I sort it
with ksort, it appears that 2.0 is greater than 19.0,
i.e. $aryelement[2.0] comes out after $aryelement[19.0]
???????????
Thanks !
Mikhail