SplFileInfo
PHP Manual

SplFileInfo::openFile

(PHP 5 >= 5.1.2)

SplFileInfo::openFileGets an SplFileObject object for the file

Beschreibung

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

The method description goes here.

Parameter-Liste

open_mode

Description...

use_include_path

Description...

context

Description...

Rückgabewerte

Description...

Beispiele

Beispiel #1 SplFileInfo::openFile() example

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

Das oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:

...

Siehe auch


SplFileInfo
PHP Manual