Function
is_writable
Synopsis
is_writable(string): bool
- Area
Runtime\PS\Files\is_writableareas
Description
is_writable reports whether a script could write $filename, which reads writable_paths and not the file mode; a path the allowlist refuses is not writable whatever the host's permissions say, and a path it allows is writable even when the file does not exist yet.
Usage
$value = is_writable($arguments);
$fn = is_writable(...);