<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hikaru217</author_name>
  <author_url>https://blog.hatena.ne.jp/hikaru217/</author_url>
  <blog_title>還暦過ぎたエンジニアの挑戦</blog_title>
  <blog_url>https://blog.yutenji.biz/</blog_url>
  <categories>
    <anon>転ぶ前に読め</anon>
    <anon>転ぶ前に読め-php</anon>
  </categories>
  <description>何を言いたいかというと、その変数があるかどうかもわからない時に、中身が空っぽかどうかを直に聞いても良い？ という話なんだけどいつもどうだっけ？ってなる。 で、うっかりすると変数がちゃんと定義されていいるかを確認して実行したいという気持ちで if (isset($x) &amp;&amp; is_null($x) === false) {やりたい事} なんて書いていたりする。 isset()はその変数が定義されていて内容がnullではないときにtrueを返す関数なので if (isset($x)) {やりたい事} と、シンプルに書けばOKなんだよね。。。(;^_^ is_null()とisset() === f…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.yutenji.biz%2Fentry%2F2020%2F03%2F05%2F233613&quot; title=&quot;is_nullとisset - php - 還暦過ぎたエンジニアの挑戦&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.yutenji.biz/img/php.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-05 23:36:13</published>
  <title>is_nullとisset - php</title>
  <type>rich</type>
  <url>https://blog.yutenji.biz/entry/2020/03/05/233613</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
