Re: [PHP] array_reverse() recursive

2002-06-10 Thread Stuart Dallas
Monday, June 10, 2002, 5:12:50 PM, you wrote: > Monday, June 10, 2002, 5:07:48 PM, you wrote: >> Does anyone have or know of a function that will take an array and >> do array_reverse() recursively? I have the following array/structure: > Something like this (UNTESTED!!)... > function recurs

Re: [PHP] array_reverse() recursive

2002-06-10 Thread Stuart Dallas
Monday, June 10, 2002, 5:07:48 PM, you wrote: > Does anyone have or know of a function that will take an array and > do array_reverse() recursively? I have the following array/structure: Something like this (UNTESTED!!)... function recursive_array_reverse($arr) { foreach ($arr as $key =>

[PHP] array_reverse() recursive

2002-06-10 Thread Chris Boget
Does anyone have or know of a function that will take an array and do array_reverse() recursively? I have the following array/structure: Array ( [0] => Array ( [0] => Array ( [0] => bob ) ) [1] => Array