<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohhoy</author_name>
  <author_url>https://blog.hatena.ne.jp/yohhoy/</author_url>
  <blog_title>yohhoyの日記</blog_title>
  <blog_url>https://yohhoy.hatenadiary.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>プログラミング言語PHPにおける奇妙な型変換 &quot;Type Juggling&quot;。文字列と数値の比較(==)には要注意。 2022-02-04追記：本記事で取り上げた型変換はPHP 7.4系までの言語仕様。PHP 8.0.0以降ではいずれもfalse値となる。PHP公式の下方互換性に関するドキュメントや解説記事を参照のこと。 &lt;?php var_dump(0 == &quot;php&quot;); // bool(true) !? var_dump(0 === &quot;php&quot;); // bool(false) ?&gt; PHP公式マニュアルより言語リファレンス該当箇所を引用。 整数値を文字列と比較したり、比較に数値形式の文…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20180529%2Fp1&quot; title=&quot;Type Juggling - yohhoyの日記&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>2018-05-29 00:00:00</published>
  <title>Type Juggling</title>
  <type>rich</type>
  <url>https://yohhoy.hatenadiary.jp/entry/20180529/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
