JBZoo\Utils\FS::_chmod PHP Méthode

_chmod() protected static méthode

Chmod alias
protected static _chmod ( string $filename, integer $perm, integer $add ) : boolean
$filename string
$perm integer
$add integer
Résultat boolean
    protected static function _chmod($filename, $perm, $add)
    {
        return chmod($filename, (fileperms($filename) | intval('0' . $perm . $perm . $perm, 8)) ^ $add);
    }