In reply to cgales:
Hi cgales, when you mean “smallest index whose value is…”, do you mean the value at the index or the index value** itself?
For example in an associative array as follows:
int array [string];
array = '{"apple":0, "banana":5, "grapes":6};
Index value of “banana” is 5 or the length of the string “banana”?
Please let me know.