fnmatch php игнорировать случай
fnmatch("*ti*o*", 'Tiago');//false
fnmatch("*ti*o*", 'Tiago', FNM_CASEFOLD);//true
Tiago F2
fnmatch("*ti*o*", 'Tiago');//false
fnmatch("*ti*o*", 'Tiago', FNM_CASEFOLD);//true