The is_writeable() function checks whether the specified file is writeable.This function returns TRUE if the file is writeable.This function is an alias of the is_writable() function.
The output of the code above could be : -
test.txt is writeable
Parameter | Description |
---|---|
file | Required. Specifies the open file to check |