<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sutara_lumpur</author_name>
  <author_url>https://blog.hatena.ne.jp/sutara_lumpur/</author_url>
  <blog_title>すたら日記</blog_title>
  <blog_url>https://sutara-lumpur.hatenadiary.org/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>※注意点、といっても、単に僕が馬鹿なだけだったのですが…orz失敗 $hoge = array('a', 'b', 'c'); $key = array_search('a', $hoge); if ($key) { //見つかった } else { //見つらなかった }配列を検索した結果、見つかった要素のキーが[0]だった場合、 失敗例では『見つからなかった』ほうの分岐へと流れてしまいます。 成功 $hoge = array('a', 'b', 'c'); $key = array_search('a', $hoge); if ($key !== false) { //見つかった } el…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsutara-lumpur.hatenadiary.org%2Fentry%2F20100729%2F1280381413&quot; title=&quot;【PHP】『array_search()』の注意点 - すたら日記&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>2010-07-29 14:30:13</published>
  <title>【PHP】『array_search()』の注意点</title>
  <type>rich</type>
  <url>https://sutara-lumpur.hatenadiary.org/entry/20100729/1280381413</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
