Sherif Ramadan wrote:
I can't understand what you mean by "Different means of identifying
position in the array"? If you mean a way to access an array's element
by its position in the array then yes, we already have that. It's
called array_slice() seehttp://php.net/array-slice  which allows you
to access elements in the array by their offset and that includes
using a negative offset. The key and the offset are two completely
different things.

Never had to use it ;) But then there is a heck of a lot of stuff I've never even looked at. But it does blow this thread - when referring to collection arrays - out of the water? The problem I see is people trying to apply 'string' rules in the wrong way ... and I find that string handling works fine for me as it currently works but we probably just need to STOP people trying to apply the same rules to something that is totally different? And I though that 'string' -ve indexes had been sorted?

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to