I got an associative array and I need to find the numeric position of a key. I could loop through to find it but but is there a better way build into php?
$a = array(
'blue' => 'nice',
'car' => 'fast',
'number' => 'none'
);
// echo (find numeric index of $a['car']); // output: 1