极客教程 - 以工匠精神打磨精品教程极客教程
    • 基础编程
      • C语言
      • C++语言
      • C++ 多线程
      • Shell
      • Perl
      • LeetCode
      • C#
    • 前端开发
      • HTML
      • Bootstrap
      • JavaScript 参考手册
      • WebSocket
      • Markdown
      • react
    • 后端开发
      • 数据库管理系统
      • SQL
      • MySQL
      • MongoDB
      • Redis命令
    • Python开发
      • Python
      • Numpy
      • Matplotlib
      • Scrapy
      • Pandas
      • PyTorch
      • tkinter
      • pygame
      • PyGTK
      • Turtle
    • Java开发
      • Java
      • Spring
      • Spring Boot
      • JSP
      • Servlet
      • Guava
    • 大数据
      • 大数据
      • HDFS
      • MapReduce
      • Yarn
      • Hive
      • Spark
      • HBase
      • Storm
      • Spark Streaming
      • Flink
      • ZooKeeper
    • 人工智能
      • 机器学习
      • 深度学习
      • 数学基础
      • 线性代数
      • Tensorflow
      • Keras
      • scikit-learn
    • 移动开发
      • Android
      • Flutter
      • Kotlin
    • 图形图像
      • OpenCV
    • 开发工具
      • VSCode
      • Git
      • Github
当前位置:极客教程 > PHP > PHP 参考手册 > PHP fileowner()函数

PHP fileowner()函数

PHP fileowner()函数

fileowner() 函数可以返回指定文件的用户ID(所有者)。此函数在成功时返回用户ID,失败时返回false。

语法

int fileowner ( string $filename )

此函数的结果可以被缓存,因此我们可以使用 clearstatcache() 函数来清除缓存。这个函数不能在Windows系统上运行。我们可以使用 posix_getpwuid() 函数将用户ID转换为用户名。

示例

<?php
   echo fileowner("/PhpProject/sample.txt");
?>

输出

0

上一篇 Python Relativedelta介绍 下一篇 PHP fileperms()函数

Python教程

Python 教程

Python 教程

Tkinter 教程

Tkinter 教程

Pandas 教程

Pandas 教程

NumPy 教程

NumPy 教程

Flask 教程

Flask 教程

Django 教程

Django 教程

PySpark 教程

PySpark 教程

wxPython 教程

wxPython 教程

SymPy 教程

SymPy 教程

Seaborn 教程

Seaborn 教程

SciPy 教程

SciPy 教程

RxPY 教程

RxPY 教程

Pycharm 教程

Pycharm 教程

Pygame 教程

Pygame 教程

PyGTK 教程

PyGTK 教程

PyQt 教程

PyQt 教程

PyQt5 教程

PyQt5 教程

PyTorch 教程

PyTorch 教程

Matplotlib 教程

Matplotlib 教程

Web2py 教程

Web2py 教程

BeautifulSoup 教程

BeautifulSoup 教程

Java教程

Java 教程

Java 教程

Web教程

HTML 教程

HTML 教程

CSS 教程

CSS 教程

CSS3 教程

CSS3 教程

jQuery 教程

jQuery 教程

Ajax 教程

Ajax 教程

AngularJS 教程

AngularJS 教程

TypeScript 教程

TypeScript 教程

WordPress 教程

WordPress 教程

Laravel 教程

Laravel 教程

Next.js 教程

Next.js 教程

PhantomJS 教程

PhantomJS 教程

Three.js 教程

Three.js 教程

Underscore.JS 教程

Underscore.JS 教程

WebGL 教程

WebGL 教程

WebRTC 教程

WebRTC 教程

VueJS 教程

VueJS 教程

数据库教程

SQL 教程

SQL 教程

MySQL 教程

MySQL 教程

MongoDB 教程

MongoDB 教程

PostgreSQL 教程

PostgreSQL 教程

SQLite 教程

SQLite 教程

Redis 教程

Redis 教程

MariaDB 教程

MariaDB 教程

图形图像教程

Vulkan 教程

Vulkan 教程

OpenCV 教程

OpenCV 教程

大数据教程

R语言 教程

R语言 教程

开发工具教程

Git 教程

Git 教程

VSCode 教程

VSCode 教程

Docker 教程

Docker 教程

Gerrit 教程

Gerrit 教程

Excel 教程

Excel 教程

计算机教程

Go语言 教程

Go语言 教程

C++ 教程

C++ 教程

PHP 参考手册

  • PHP chmod()函数
  • PHP chown()函数
  • PHP 清除文件状态缓存的函数clearstatcache()
  • PHP copy()函数
  • PHP delete()函数
  • PHP dirname()函数
  • PHP disk_free_space()函数
  • PHP disk_total_space()函数
  • PHP diskfreespace()函数
  • PHP fclose()函数
  • PHP feof()函数
  • PHP fflush()函数
  • PHP fgetc()函数
  • PHP fgetcsv()函数
  • PHP fgets()函数
  • PHP fgetss()函数
  • PHP file_exists()函数
  • PHP file_get_contents()函数
  • PHP file_put_contents()函数
  • PHP file()函数
  • PHP fileatime()函数
  • PHP filectime()函数
  • PHP filegroup()函数
  • PHP fileinode()函数
  • PHP filemtime()函数
  • PHP fileowner()函数
  • PHP fileperms()函数
  • PHP filesize()函数
  • PHP filetype()函数
  • PHP flock()函数
  • PHP fnmatch()函数
  • PHP fopen()函数
  • PHP fpassthru()函数
  • PHP fputcsv()函数
  • PHP fputs()函数
  • PHP fread()函数
  • PHP fscanf()函数
  • PHP fseek()函数
  • PHP fstat()函数
  • PHP ftell()函数
  • PHP ftruncate()函数
  • PHP 函数fwrite()

© 2025 极客教程   备案号:蜀ICP备11026280号-10


友情链接:极客笔记

  • 回顶
    回顶部