<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rsky</author_name>
  <author_url>https://blog.hatena.ne.jp/rsky/</author_url>
  <blog_title>讃容日記</blog_title>
  <blog_url>https://blog.r-sky.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>% php -r 'var_dump(is_numeric(&quot;+0123.45e6&quot;), +0123.45e6); &gt; var_dump(is_numeric(&quot;-0123&quot;), -0123);' bool(true) float(123450000) bool(true) int(-83)この結果を踏まえ、is_numeric() で真となる文字列は、クォートしなかった場合 PHP のパーザで数値として評価される文字列であるという予測 *1 に基づいて、先日のエントリ (d:id:rsky:20061127:1164705790) を一部修正。 これにより、8進数や指数表記も正しく評価できる…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.r-sky.jp%2Fentry%2F20061128%2F1164730953&quot; title=&quot; is_numeric() &amp;amp; eval() - 讃容日記&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>2006-11-28 01:22:33</published>
  <title> is_numeric() &amp; eval()</title>
  <type>rich</type>
  <url>https://blog.r-sky.jp/entry/20061128/1164730953</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
