techtonik wrote: > Seems, that multidimensional arrays are copied with one dimension, > which contains references to other included arrays.
I think you can fill a bug report (Arrays related) for this, it looks like a bug near array_multisort() to me. If you use asort() instead of array_multisort(), the example works as expected. Jakub Vrana