<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takeru-c</author_name>
  <author_url>https://blog.hatena.ne.jp/takeru-c/</author_url>
  <blog_title>パンプキンスパイスラテ</blog_title>
  <blog_url>https://pumpkin.hatenablog.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>レシピ25 文字列の長さを得る ソース &lt;?php echo (&quot;バイト数=&gt;&quot;); echo strlen(&quot;こんにちは、PHP&quot;); echo PHP_EOL;//改行 echo (&quot;文字数=&gt;&quot;); echo mb_strlen(&quot;こんにちは、PHP&quot;,&quot;Shift-JIS&quot;); //コマンドライン実行なので文字エンコード指定しないとおかしな値になる ?&gt; 実行 C:\php\recipe&gt;php 002.php バイト数=&gt;15 文字数=&gt;9ちなみにRubyだと・・・ print (&quot;バイト数=&gt;&quot;); print (&quot;こんにちは、Ruby&quot;).length; print (&quot;\n&quot;)…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpumpkin.hatenablog.jp%2Fentry%2F20080511%2F1210478427&quot; title=&quot;Rubyレシピブックを元にPHPで書いてみる.その2 - パンプキンスパイスラテ&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>2008-05-11 13:00:27</published>
  <title>Rubyレシピブックを元にPHPで書いてみる.その2</title>
  <type>rich</type>
  <url>https://pumpkin.hatenablog.jp/entry/20080511/1210478427</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
