PHP is_writeable() Function

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.

Example -

The output of the code above could be : -

test.txt is writeable

ParameterDescription
fileRequired. Specifies the open file to check