<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryster</author_name>
  <author_url>https://blog.hatena.ne.jp/ryster/</author_url>
  <blog_title>覇王色を求めて</blog_title>
  <blog_url>https://ryster.hatenadiary.org/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>PHP5でこんな仕様に変わってたらしい。 PHP5では、プロパティがないオブジェクトは空でないと見なされます。 PHP4では、文字列 &quot;0&quot;は空であると見なされます。 PHP5でのemptyの動作 次のような値は空であると考えられます。: &quot;&quot; (空文字列) 0 (0 は整数) &quot;0&quot; (0は文字列) NULL FALSE array() (空の配列) var $var;(変数が宣言されているが、クラスの中で値が設定されていない) 全然知らなかった。PHP4使ってた時に、emptyが使えないもんだから自前で関数用意してチェックしてたけどその必要がなくなりそうだなぁ。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryster.hatenadiary.org%2Fentry%2F20071012%2F1192205587&quot; title=&quot;emptyの動作変わってたのか - 覇王色を求めて&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-10-12 01:13:07</published>
  <title>emptyの動作変わってたのか</title>
  <type>rich</type>
  <url>https://ryster.hatenadiary.org/entry/20071012/1192205587</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
