{"image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.excite.co.jp%2Fentry%2F2023%2F03%2F08%2F142338\" title=\"\u3055\u3088\u306a\u3089strpos\u3002\u4eca\u307e\u3067\u3042\u308a\u304c\u3068\u3046\u3002 - \u30a8\u30ad\u30b5\u30a4\u30c8 TechBlog.\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u30a8\u30ad\u30b5\u30a4\u30c8 TechBlog.","categories":["\u30d0\u30c3\u30af\u30a8\u30f3\u30c9-PHP8"],"title":"\u3055\u3088\u306a\u3089strpos\u3002\u4eca\u307e\u3067\u3042\u308a\u304c\u3068\u3046\u3002","provider_name":"Hatena Blog","published":"2023-03-08 14:23:38","type":"rich","height":"190","author_url":"https://blog.hatena.ne.jp/excite-SD/","width":"100%","version":"1.0","author_name":"excite-SD","url":"https://tech.excite.co.jp/entry/2023/03/08/142338","blog_url":"https://tech.excite.co.jp/","provider_url":"https://hatena.blog","description":"php\u3092\u4f7f\u3063\u3066\u308b\u4eba\u306a\u3089\uff11\u56de\u306fstrpos\u95a2\u6570\u3092\u4f7f\u3063\u305f\u3053\u3068\u304c\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002 \u305d\u3057\u3066\u7f60\u306b\u3082\u5f15\u3063\u304b\u304b\u3063\u305f\u3053\u3068\u304c\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u3002\u3002 \u5b9f\u88c5 <?php $haystack = '\u543e\u8f29\u306f\u732b\u3067\u3042\u308b'; $needle = '\u543e\u8f29'; if (strpos($haystack, $needle)) { var_dump('\u590f\u76ee\u6f31\u77f3'); } \u4f55\u3082\u8868\u793a\u3055\u308c\u307e\u305b\u3093 <?php $haystack = '\u543e\u8f29\u306f\u732b\u3067\u3042\u308b'; $needle = '\u732b'; if (strpos($haystack, $needle)) { var_dump('\u590f\u76ee\u6f31\u77f3'); } \u590f\u76ee\u6f31\u77f3\u304c\u8868\u793a\u3055\u308c\u307e\u3059 \u306a\u305c\u304b strpos\u306e\u30c9\u30ad\u30e5\u2026"}