This function is case sensitive by default.
public static any_match ( string $value, array $patterns ) : boolean | ||
$value | string | A string value to check against, potentially with parameters (E.g. 'Varchar(1023)') |
$patterns | array | A list of strings, some of which may be regular expressions |
return | boolean | True if this $value is present in any of the $patterns |