當前位置: 首頁> 函數類別大全> fileowner

fileowner

獲取文件所有者
名稱:fileowner
分類:文件系統
所屬語言:php
一句話介紹:文件的user ID (所有者)。

實例

<span class="token php language-php"><span class="token delimiter important"><?php</span>
<span class="token keyword">echo</span> <span class="token function">fileowner</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"test.txt"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>
同類函數
  • 獲取文件修改時間 filemtime

    filemtime

    獲取文件修改時間
  • 返回文件系統或磁盤分區上的可用空間 disk_free_space

    disk_free_space

    返回文件系統或磁盤分區上的可用空間
  • 將整個文件讀入一個字符串 file_get_contents

    file_get_contents

    將整個文件讀入一個字符串
  • 判斷文件是否存在且可讀 is_readable

    is_readable

    判斷文件是否存在且可讀
  • 通過已打開的文件指針取得文件信息 fstat

    fstat

    通過已打開的文件指針取得文件信息
  • 用模式匹配文件名 fnmatch

    fnmatch

    用模式匹配文件名
  • 刪除文件 unlink

    unlink

    刪除文件
  • 修改符號鏈接的所有者 lchown

    lchown

    修改符號鏈接的所有者
熱門文章