Easy Tutorial
❮ Func Mysqli Ssl Set Func String Quotemeta ❯

PHP is_writable() Function



Definition and Usage

The is_writable() function checks if the specified file is writable.

If the file is writable, the function returns TRUE.

Syntax

Parameter Description
file Required. Specifies the file to check.

Tips and Notes

Note: The result of this function is cached. Use clearstatcache() to clear the cache.


Example

The above code will output:


❮ Func Mysqli Ssl Set Func String Quotemeta ❯