The SplFileInfo class
(PHP 5 >= 5.1.2, PHP 7)
简介
The SplFileInfo class offers a high-level object oriented interface to
information for an individual file.
类摘要
SplFileInfo
{
public isDir
(
void
) :
bool
public openFile
([
string $open_mode
= "r"
[,
bool $use_include_path
= FALSE
[,
resource $context
= NULL
]]] ) :
SplFileObject
public setFileClass
([
string $class_name
= "SplFileObject"
] ) :
void
public setInfoClass
([
string $class_name
= "SplFileInfo"
] ) :
void
}
Table of Contents
User Contributed Notes
There are no user contributed notes for this page.