関数の一般的な方法php-

 

BOOL in_array混合 $needle配列$haystack[、BOOL $strict = FALSE ]) haystack 検索needle 、設定されていない場合strict 緩い比較を使用します。 

文字列のstrtolower文字列$str)  strtolower - 文字列を小文字に変換します

おすすめ

転載: www.cnblogs.com/caoqh/p/11652224.html