SplFileInfo
PHP 手册

SplFileInfo::isWritable

(PHP 5 >= 5.1.2)

SplFileInfo::isWritableTells if the entry is writable

说明

public bool SplFileInfo::isWritable ( void )

Checks if the current entry is writable.

参数

This function has no parameters.

返回值

Returns TRUE if writable, FALSE otherwise;


SplFileInfo
PHP 手册