<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gothedistance</author_name>
  <author_url>https://blog.hatena.ne.jp/gothedistance/</author_url>
  <blog_title>Life is Really Short, Have Your Life!!</blog_title>
  <blog_url>https://aroundthedistance.hatenadiary.jp/</blog_url>
  <categories>
    <anon>php</anon>
  </categories>
  <description>こーゆーコードでIllegal string offsetが出ました。 php5.3では出ませんでした。 &lt;?php function methodA() { $param['id'] = &quot;1,2,3,4,5,6&quot;; $this-&gt;methodB($param['id']); } function methodB($param) { //Illegal string offset 'id' explode(',',$param['id']); } 配列を渡しているつもりが間違えて文字列渡しているのに、謎の添え字でアクセスできること自体いかんのではないでしょうか・・・。 $str = 'abd…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faroundthedistance.hatenadiary.jp%2Fentry%2F2012%2F12%2F10%2F201728&quot; title=&quot;php5.4の文字列オフセットが厳密になった件 - Life is Really Short, Have Your Life!!&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-12-10 20:17:28</published>
  <title>php5.4の文字列オフセットが厳密になった件</title>
  <type>rich</type>
  <url>https://aroundthedistance.hatenadiary.jp/entry/2012/12/10/201728</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
