W3cubDocs

/PHP

SplFileInfo::isWritable

(PHP 5 >= 5.1.2, PHP 7)

SplFileInfo::isWritableTells if the entry is writable

Description

public SplFileInfo::isWritable ( ) : bool

Checks if the current entry is writable.

Parameters

This function has no parameters.

Return Values

Returns true if writable, false otherwise;

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/splfileinfo.iswritable.php