int matchCase(string $str, string $str1[, string $str2...])
int matchNoCase(string $str, string $str1[, string $str2...])
•These functions compare a string to a list of strings to see if $str matches any of the strings in the list. If $str does not match any strings, then these functions will return 0, else these functions return 1 or greater. For instance, if $str matches $str1, then these functions will return 1, if $str matches $str2, then these functions will return 2, etc.
•matchCase() performs a case-sensitive compare, while matchNoCase() performs a case-insensitive compare.