<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mizominton</author_name>
  <author_url>https://blog.hatena.ne.jp/mizominton/</author_url>
  <blog_title>#バドシス　〜 日々のことを続く限り書いてみようと思って 〜</blog_title>
  <blog_url>https://mizominton.hatenablog.jp/</blog_url>
  <categories>
    <anon>IT</anon>
    <anon>php</anon>
  </categories>
  <description>よくこれでググってしまうので戒めとして記事にしておきます。 Warning: Invalid argument supplied グーグル翻訳にかけると 警告：無効な引数が指定されて と怒られます。 foreachとは PHP: foreach - Manual (PHP 4, PHP 5, PHP 7) foreach は、配列を反復処理するための便利な方法です。 foreach が使えるのは配列とオブジェクトだけであり、 別のデータ型や初期化前の変数に対して使うとエラーになります。 foreachが使えるのは配列とオブジェクトだけであり、 別のデータ型や初期化前の変数に対して使うとエラーに…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmizominton.hatenablog.jp%2Fentry%2Fphp-foreach-warning&quot; title=&quot;PHPのforeachで「Warning: Invalid argument supplied」がでる。 - #バドシス　〜 日々のことを続く限り書いてみようと思って 〜&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>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mizominton/20161011/20161011162045.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-10-13 10:48:13</published>
  <title>PHPのforeachで「Warning: Invalid argument supplied」がでる。</title>
  <type>rich</type>
  <url>https://mizominton.hatenablog.jp/entry/php-foreach-warning</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
