<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>n314</author_name>
  <author_url>https://blog.hatena.ne.jp/n314/</author_url>
  <blog_title>ログ日記</blog_title>
  <blog_url>https://n314.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>基本的なことだけど自分でもたまに忘れることがある。 そしてバグの元になる。 失敗する可能性のある処理はチェックを行う &lt;?php if (isset($_GET['checkbox']) &amp;&amp; is_array($_GET['checkbox'])){ $checkbox = $_GET['checkbox']; }else $checkbox = array(); } /* foreachの前には必ずチェックを入れる */ foreach ($checkbox as $key =&gt; $value){ ... ついつい気軽に使ってしまうforeach文。ユーザの入力を使う場合に限らずチェックし…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fn314.hatenablog.com%2Fentry%2F20071222%2F1198320851&quot; title=&quot; バグを直していて思ったこと - ログ日記&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>2007-12-22 19:54:11</published>
  <title> バグを直していて思ったこと</title>
  <type>rich</type>
  <url>https://n314.hatenablog.com/entry/20071222/1198320851</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
