first, do not use a character class, that would search for the occurrences of the letters, regardless of their order.
second, a set of matching words/search terms is separated by the PCRE OR operator (
$search = implode("|", $arr);
$pattern = "#^($search)#i";
depending on what the function is supposed to return, even stripos()
(in a loop) can do the job.