Example:
$arr = array(1 => \'Foo\', 5 => \'Bar\', 6 => \'Foobar\'); /*... do some function so $arr now equals: array(0 => \'Foo\', 1 => \'
Not that I know of, you might have already checked functions here
but I can imagine writing a simple function myself
resetarray($oldarray) { for(int $i=0;$i<$oldarray.count;$i++) $newarray.push(i,$oldarray[i]) return $newarray; }
I am little edgy on syntax but I guess u got the idea.