ubound($array); upper bound<

windows

Guest
is there a function in php that shows the upper bound (?) of an array? like ubound in c? i've used count, but that aint quite right, still
count($array)-1
shows the upper bound, if i use like
$array[0]
$array[1]
$array[2]
but not if i use
$array[0]
$array[13]
$array[55]
in that case i would want the function to return 55, not 2...

can anyone help?
 
Back
Top