note 91508 deleted from control-structures.foreach by danbrown
| From: | danbrown@php.net | Date: | Sun, 14 Jun 2009 14:17:08 +0000 |
| Subject: | note 91508 deleted from control-structures.foreach by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-156853@lists.php.net to get a copy of this message | ||
Note Submitter: xkeeper at gmail dot com
----
I think you meant to use ksort() there, chief. sort() sorts by the contents, not the index.
If you didn't, then the first part of your note is a bit misleading.