On Fri, Jan 04, 2008 at 03:31:25PM +0100, Andreas Gohr wrote: > Hi! Hi Andi, > > > Could you please rewrite the patch using a for loop with the length > > > of the array instead of using a reference? > > [...] > > > > I was wondering why that convoluted style of loop was being > > used, I wasn't aware of that limitation of older releases of PHP > > as I'm a very occasional PHP programmer, sorry about that. > > > > Please find the new patch attached (gzip compressed). > > Looks like you sent the wrong file. It still uses > > foreach ($elts[0] as &$elt) { [...] Oops, I had only taken care of the outer loop. Sorry. Here's another patch. Just removed the "&" above. Cheers, Stephane