SplFileInfo::isWritable

(PHP 5 >= 5.1.2, PHP 7)

SplFileInfo::isWritableTells if the entry is writable

Description

public SplFileInfo::isWritable ( void ) : bool

Checks if the current entry is writable.

Parameters

This function has no parameters.

Return Values

Returns TRUE if writable, FALSE otherwise;