<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>excite-SD</author_name>
  <author_url>https://blog.hatena.ne.jp/excite-SD/</author_url>
  <blog_title>エキサイト TechBlog.</blog_title>
  <blog_url>https://tech.excite.co.jp/</blog_url>
  <categories>
    <anon>バックエンド-PHP8</anon>
  </categories>
  <description>phpを使ってる人なら１回はstrpos関数を使ったことがあると思います。 そして罠にも引っかかったことがあると思います。。。 実装 &lt;?php $haystack = '吾輩は猫である'; $needle = '吾輩'; if (strpos($haystack, $needle)) { var_dump('夏目漱石'); } 何も表示されません &lt;?php $haystack = '吾輩は猫である'; $needle = '猫'; if (strpos($haystack, $needle)) { var_dump('夏目漱石'); } 夏目漱石が表示されます なぜか strposのドキュ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.excite.co.jp%2Fentry%2F2023%2F03%2F08%2F142338&quot; title=&quot;さよならstrpos。今までありがとう。 - エキサイト TechBlog.&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-03-08 14:23:38</published>
  <title>さよならstrpos。今までありがとう。</title>
  <type>rich</type>
  <url>https://tech.excite.co.jp/entry/2023/03/08/142338</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
