$string = 'Hello World!';
if(stristr($string, 'earth') === FALSE) {
echo '"earth" not found in string';
}
// 出力は "earth" not found in string となります
参照元:http://www.php.net/manual/ja/function.st…
http://d.hatena.ne.jp/keitanxkeitan/20110117/1295276262
この投稿へのコメント
コメントはまだありません。