PHP
SPL/File

SplFileInfo::isWritable

SplFileInfo::isWritable

(PHP 5 >= 5.1.2, PHP 7)

SplFileInfo::isWritable — Tells if the entry is writable

Description

public bool SplFileInfo::isWritable ( void )

Checks if the current entry is writable.

Parameters

This function has no parameters.

Return Values

Returns TRUE if writable, FALSE otherwise;

← SplFileInfo::isReadable

SplFileInfo::openFile →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/splfileinfo.iswritable.php