<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bogy1984</author_name>
  <author_url>https://blog.hatena.ne.jp/bogy1984/</author_url>
  <blog_title>Bology</blog_title>
  <blog_url>https://bogy1984.hatenadiary.org/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>正規表現</anon>
  </categories>
  <description>「date('Y-m-d H:i:s', time())」で生成した文字列やMySQLのDATETIME型を簡単に配列化する シンプルに配列化する場合 &lt;?php $date = date('Y-m-d H:i:s', time()); $date = preg_split('/[-: ]/', $date); /* 結果 Array ( [0] =&gt; '2009' [1] =&gt; '06' [2] =&gt; '16' [3] =&gt; '21' [4] =&gt; '39' [5] =&gt; '41' ) */ ?&gt; キーも一緒にセットする場合 &lt;?php $date = date('Y-m-d H:i:s',…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbogy1984.hatenadiary.org%2Fentry%2F20090616%2F1245156340&quot; title=&quot;年月日を簡単に配列化する - Bology&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>2009-06-16 21:45:40</published>
  <title>年月日を簡単に配列化する</title>
  <type>rich</type>
  <url>https://bogy1984.hatenadiary.org/entry/20090616/1245156340</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
