JBZoo\Utils\FS::_chmod PHP 메소드

_chmod() 보호된 정적인 메소드

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