<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moroto1122</author_name>
  <author_url>https://blog.hatena.ne.jp/moroto1122/</author_url>
  <blog_title>Webエンジニアの技術メモ　〜PHP、SQL、Linuxなど〜</blog_title>
  <blog_url>https://moroto1122.hatenadiary.org/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>配列を追加したいけれど、同じ配列に要素を追加するのではなく、配列としてそのまま次の要素にしたい場合 $data1 = array('hoge'=&gt;1,'piyo'=&gt;array('xxx'=&gt;0)); $data2 = array('fuga'=&gt;2);$data = array_merge(array($data1), array($data2)); Array ( [0] =&gt; Array ( [hoge] =&gt; 1 [piyo] =&gt; Array ( [xxx] =&gt; 0 ) ) [1] =&gt; Array ( [fuga] =&gt; 2 ) ) 単純に「+」を使うと後ろに追加される $dat…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmoroto1122.hatenadiary.org%2Fentry%2F20100610%2F1276148841&quot; title=&quot;配列に配列を追加 - Webエンジニアの技術メモ　〜PHP、SQL、Linuxなど〜&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-06-10 14:47:21</published>
  <title>配列に配列を追加</title>
  <type>rich</type>
  <url>https://moroto1122.hatenadiary.org/entry/20100610/1276148841</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
