How can we calculate where the aaray ends?

Posted by udaya on Stack Overflow See other posts from Stack Overflow or by udaya
Published on 2010-04-24T10:31:20Z Indexed on 2010/04/24 10:33 UTC
Read the original article Hit count: 172

Filed under:
|

Hi I have an array result like this, example 1:

Array ( [0] =>15 [1] => 16 [2] => 17 [3] => 18 )

example 2:

Array ( [0] =>15 [1] => 16 [2] => 17 [3] => 18 [4] => 18 )

The first array ends at array[3] The second array ends at array[4] How to calculate where the array ends Is there any function to calculate this

© Stack Overflow or respective owner

Related posts about array

Related posts about php