I have an array like follows.
$keyPos = array_search(\'Diagnosis 5\', array_keys($types));
this gives me a $keyPos of 1<
$keyPos