SplFileInfo::isWritable

(PHP 5 >= 5.1.2, PHP 7, PHP 8)

SplFileInfo::isWritableTells if the entry is writable

說明

public SplFileInfo::isWritable(): bool

Checks if the current entry is writable.

參數

此函數沒有參數。

返回值

Returns true if writable, false otherwise;