<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>empty は、変数が空であるかどうかを検査する。 issetは、var が存在して NULL 以外の値をとれば TRUE、 そうでなければ FALSE を返す。 つまり、issetは空文字列でもTRUEを返します。 &lt;?php $search_array = array('first' =&gt; null, 'second' =&gt; ''); if(empty($search_array['first'])) print_r(&quot;hoge1\n&quot;); if(isset($search_array['first'])) print_r(&quot;hoge2\n&quot;); if(empty($search_arra…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120618%2F1339953291&quot; title=&quot;emptyとissetの違い - by shigemk2&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>2012-06-18 02:14:51</published>
  <title>emptyとissetの違い</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20120618/1339953291</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
