> So much for the "theory" - what are you really trying to achieve? Maybe > there's something you can redesign so you're not relying on the fact if an > array is "enumerated" or not.
thanks very much for your help - i understand now that no matter what kind of array i think i'm making, it is being morphed into an associative array. i half-understood this from the docs, but was puzzled.. i expected the behaviour of an array in other languages, which even if i were to define an array in this sequence: $arr[2] = "z"; $arr[0] = "x"; $arr[1] = "y"; would shuffle itself internally into a sequence like: x, y, z. but in php this obviously isn't the case, and it remains: z, x, y. thanks again for your time. -- chris paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php