<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tookikimie</author_name>
  <author_url>https://blog.hatena.ne.jp/tookikimie/</author_url>
  <blog_title>遠き君へ</blog_title>
  <blog_url>https://tookikimie.hatenablog.com/</blog_url>
  <categories>
    <anon>技術メモ</anon>
    <anon>php</anon>
  </categories>
  <description>http://php.net/manual/ja/migration70.new-features.php#migration70.new-features.null-coalesce-op の「Null 合体演算子」の項に書いてある通りっちゃそうなんですが、 「null合体演算子」という名前からだとnullの場合にデフォルト値に変えるのに使える印象ですが、 未定義：変数が定義されていなかったり、配列のキーが存在しなかったりする場合にも使えます。 // $hogeはここまでで出てきていない echo $hoge ?? 'empty' . PHP_EOL; // -&gt; empty echo $h…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftookikimie.hatenablog.com%2Fentry%2F2019%2F01%2F10%2F220047&quot; title=&quot;【PHP】null合体演算子がいい感じにしてくれるのはnullだけじゃなくて未定義も - 遠き君へ&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>2019-01-10 22:00:47</published>
  <title>【PHP】null合体演算子がいい感じにしてくれるのはnullだけじゃなくて未定義も</title>
  <type>rich</type>
  <url>https://tookikimie.hatenablog.com/entry/2019/01/10/220047</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
