(PHP 5 >= 5.1.2)
SplFileInfo::isWritable — Tells if the entry is writable
Checks if the current entry is writable.
This function has no parameters.
Returns TRUE if writable, FALSE otherwise;
TRUE
FALSE