I was wondering if somebody can help me figure out how to find out what the highest number of a key in an array is....
In other words I have an array like this:
$a[1] = 1;
$a[53] = 3;
$a[23] = 5;
I want to find the number 53.
The array is pretty big so I would like to avoid going through cycles and I was hoping there would be an easy command like count() that spits out instead of the count of the keys the number of the highest key.
Thanks