<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tnnsst35</author_name>
  <author_url>https://blog.hatena.ne.jp/tnnsst35/</author_url>
  <blog_title>ぼくのセーブポイント</blog_title>
  <blog_url>https://blog.tnnsst35.me/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>&lt;div class=&quot;section&quot;&gt; 変数のスコープでかなりはまってしまった。 コードはCakePHP1.2です。 controller $items = array( 'HOGE_0', 'HOGE_1', 'HOGE_2', 'HOGE_3' ); $this-&gt;set('items', $items); $this-&gt;set('key', 'a:1:{s:18:&quot;hoge&quot;;s:2:&quot;24&quot;;}'); view &lt;php foreach ($items as $key =&gt; $item) { &gt; &lt;item&gt;&lt;php e(h($item)) &gt;&lt;/item&gt; &lt;php } &gt; &lt;k…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tnnsst35.me%2Fentry%2Ftech%2Fphp%2F444%2F&quot; title=&quot;
				PHPのforeach		 - ぼくのセーブポイント&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-04-16 16:46:12</published>
  <title>
				PHPのforeach		</title>
  <type>rich</type>
  <url>https://blog.tnnsst35.me/entry/tech/php/444/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
