I would like to search in an Array if there is a key that has a stringlength of exactly 5 characters and further on it must be of type integer.
I tried:
$key = array_search( strlen( is_int($array)=== true) === 5 , $array);
but this does not work. So I would like to know if it exists and which key it is.
Thanks alot.