- in_array: documentation ( source)
- strtolower: documentation ( source)
<?php
$array=array("joe","sarah","jaison","klai","hanna");
if(in_array(strtolower('Joe') ,$array)){
echo "yeb,i know him !";
}else{
echo "i dont know him";
}