SplFileInfo::isWritable

Tells if the entry is writable

&reftitle.description; public `bool` `SplFileInfo::isWritable`

Checks if the current entry is writable.

&reftitle.parameters; &no.function.parameters;
&reftitle.returnvalues;

Returns &true; if writable, &false; otherwise;

&reftitle.examples;

### `SplFileInfo::isWriteable` example

    <?php
    $info = new SplFileInfo('locked.jpg');
    if (!$info->isWriteable()) {
        echo $info->getFilename() . ' is not writeable';
    }
    ?>

&example.outputs.similar;

    locked.jpg is not writeable