> Another thing: is there a nicer way to traverse an array without copying
> the values? All of the foreach(), current(), next() and similar do that -
> but I want to traverse an array just by referencing the values.
Of course, I'm looking for solution that would work in PHP4 too - in PHP5
you can use foreach with '&' before $value.