About Cacher
Web App
Download
Sign In
Sign Up
menu
Cacher is the code snippet organizer for pro developers
We empower you and your team to get more done, faster
Learn More
Restoration
1/30/2017 - 12:26 PM
share
Share
add_circle_outline
Save
変数内の文字検索
変数内の文字検索
strstr.md
content_copy
file_download
Rendered
Source
##パラメータ
第一引数が対象となる文字列
第二引数が検索する文字列
##返り値 真偽値
$str = "test@test.com" if( strstr($str,"@") ){ echo '@が存在します'; }
clear