SplFileInfo
PHP Manual

SplFileInfo::openFile

(PHP 5 >= 5.1.2)

SplFileInfo::openFileGets an SplFileObject object for the file

説明

public SplFileObject SplFileInfo::openFile ([ string $open_mode [, bool $use_include_path [, resource $context ]]] )

The method description goes here.

パラメータ

open_mode

Description...

use_include_path

Description...

context

Description...

返り値

Description...

例1 SplFileInfo::openFile() example

<?php
/* ... */
?>

上の例の出力は、たとえば 以下のようになります。

...

参考


SplFileInfo
PHP Manual