Hi
assuming I have the following array:
$arr = Array("bob" => "aaa", "alice" => "bbb");
Now assuming that I have a variable holding a name of a key in the array, for example:
$var = "alice";
How can I find the numeric order of that key in the array.
I.e. "bob" is the first key, so its order is 0, "alice" is 1,...
thanks in advance