public static function permissionsAsString($modeOctal) {
        $modeStr = '';
        foreach (static::$_permissionsByteMap as $bytes => $flag) {
            $modeStr .= (($modeOctal & $bytes) ? $flag : '-');
        }
        return $modeStr;
    }
public static function permissionsAsString($modeOctal) {
        $modeStr = '';
        foreach (static::$_permissionsByteMap as $bytes => $flag) {
            $modeStr .= (($modeOctal & $bytes) ? $flag : '-');
        }
        return $modeStr;
    }
public static function permissionsAsString ( $ modeOctal ) { $ modeStr = '' ; foreach ( static :: $ _permissionsByteMap as $ bytes => $ flag ) { $ modeStr .= ( ( $ modeOctal & $ bytes ) ? $ flag : '-' ) ; } return $ modeStr ; }
Convert octal permissions to string
@param int $modeOctal Octal mode (0755). Do not omit zero, must be octal, not decimal!
@return string String permissions representation (rwxr-xr-x)
Convert octal permissions to string