<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>MoneyReport</author_name>
  <author_url>https://blog.hatena.ne.jp/MoneyReport/</author_url>
  <blog_title>Web言語のお勉強～ど素人が往く～</blog_title>
  <blog_url>https://weblanguagestudy.hatenablog.com/</blog_url>
  <categories>
    <anon>お勉強</anon>
    <anon>PHP</anon>
  </categories>
  <description>本日のお題は配列とループ文です。 ループの勉強3日目です。本日のPHP講師にはid:m_shige1979先生をお呼びしております。 先生よろしくお願いします。 id:m_shige1979先生 forやwhileで回数を指定する場合は予めcount文の結果を変数に格納してから使用した方がパフォーマンス的にはちょっとだけ速くなります。 今回みたいに100回以下なら問題ないけど… ふむふむ。確かに配列の配列数を取得する「count()関数」をループ内で使ってしまうと、何度もcount()が呼び出されて非効率ですね。 100回以下程度のループなら良いのでしょうが、これが100万回のループとかになる…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fweblanguagestudy.hatenablog.com%2Fentry%2F2014%2F03%2F19%2F010203&quot; title=&quot;PHPのお勉強「配列とループ文＆画像表示」 - Web言語のお勉強～ど素人が往く～&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>http://cdn-ak.f.st-hatena.com/images/fotolife/M/MoneyReport/20140319/20140319005802.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-03-19 01:02:03</published>
  <title>PHPのお勉強「配列とループ文＆画像表示」</title>
  <type>rich</type>
  <url>https://weblanguagestudy.hatenablog.com/entry/2014/03/19/010203</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
