<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>k-holy</author_name>
  <author_url>https://blog.hatena.ne.jp/k-holy/</author_url>
  <blog_title>k-holyのPHPとか諸々メモ</blog_title>
  <blog_url>https://k-holy.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>SPL</anon>
  </categories>
  <description>PHPマニュアルの説明を読んでも違いがよく分からない SplFileInfo のファイル名やパスを取得する類のメソッドを、ファイルシステム関数と比較調査したメモです。SplFileInfo::__construct() の説明には &quot;file_name で指定したファイル用の新しい SplFileInfo オブジェクトを作成します。 ファイルが存在する必要はなく、また読み込み可能である必要もありません。&quot; とあります。 オブジェクトの生成にはファイルの有無は関係ないことを念頭におきつつ、以下のパターンでいくつかのメソッドの結果を調査しました。(1) 絶対パス、ファイル SplFileInfo(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fk-holy.hatenablog.com%2Fentry%2F2012%2F10%2F19%2F183824&quot; title=&quot;SplFileInfoのメソッドとファイルシステム関数の比較調査メモ - k-holyの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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-10-19 18:38:24</published>
  <title>SplFileInfoのメソッドとファイルシステム関数の比較調査メモ</title>
  <type>rich</type>
  <url>https://k-holy.hatenablog.com/entry/2012/10/19/183824</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
