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.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns true if writable, false otherwise;