Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Tells whether the filename is writable
Alias is_writeable
<?php is_writable(string $filename): bool
<?php     public function isWritable($path)

    {

        return is_writable($path);

    }
<?php     protected function write(array $manifest)

    {

        if (! is_writable($dirname = dirname($this->manifestPath))) {

            throw new Exception("The {$dirname} directory must be present and writable.");

        }
<?php     public function writeManifest($manifest)

    {

        if (! is_writable($dirname = dirname($this->manifestPath))) {

            throw new Exception("The {$dirname} directory must be present and writable.");

        }