$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…
NSAssert
指定した条件が間違っていればlogに文字列を書き込む
NSAssert2
指定した条件が間違っていればlogに引数2つの文字列を書き込む
http://www.oomori.com/cocoafw/Foundation/NSAssert2/NSAssert2.html
graffiti on the web
この投稿へのコメント
コメントはまだありません。