<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiro_y</author_name>
  <author_url>https://blog.hatena.ne.jp/hiro_y/</author_url>
  <blog_title>hiroyのブログ</blog_title>
  <blog_url>https://hiroy.hatenadiary.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>Moony</anon>
  </categories>
  <description>ただし、該当するキーが存在しない場合は代替値を返す。Moony_Utilsに追加。 function getArrayValue($key, $array, $alt = null) { if (is_array($array) &amp;&amp; isset($array[$key])) { return $array[$key]; } return $alt; }PHPの配列関数の引数のほとんどは「キー、配列」の順番だったのでそれに合わせてみた。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiroy.hatenadiary.jp%2Fentry%2F20060322%2F1143013181&quot; title=&quot;配列の値を取得する関数 - hiroyのブログ&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>2006-03-22 16:39:41</published>
  <title>配列の値を取得する関数</title>
  <type>rich</type>
  <url>https://hiroy.hatenadiary.jp/entry/20060322/1143013181</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
