note 13350 deleted from function.array-reverse by felipe
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
Note Submitter: nospam dot nass at btinternet dot com dot nospam
----
For a similar functionality in PHP3, use something like:
for ($i = count ($foo) - 1 ; $i >= 0; $i-- ) {
do something here
}
... where $foo is the array that you want to reverse.