SplFileInfo (class)

The SplFileInfo class

Introduction

(PHP 5 >= 5.1.2, PHP 7)

The SplFileInfo class offers a high-level object oriented interface to information for an individual file.

Class synopsis

SplFileInfo {
/* Methods */
public __construct ( string $file_name )
public int getATime ( void )
public string getBasename ([ string $suffix ] )
public int getCTime ( void )
登录查看完整内容