How can I get with PHP the highest key/index in an array? I know how to do it for the values.
E.g. From this array I would like to get \"10\" as an integer value:
$keys = array_keys($arr); $keys = rsort($keys); print $keys[0];
should print "10"