PHP filegroup() 函数

PHP 教程 · 2019-01-24 22:43:37

定义和用法

filegroup() 函数返回指定文件的组 ID。

如果成功,该函数返回指定文件所属组的 ID。如果失败,则返回 FALSE。

语法


filegroup(filename)


参数 描述
filename 必需。规定要检查的文件。

提示和注释

注释:该函数的结果会被缓存。请使用 clearstatcache() 来清除缓存。

注释:该函数不能在 Windows 系统上运行。

提示:请使用 posix_getgrgid() 来把组 ID 转换为组名。

实例


<?php
echo filegroup("test.txt");
?> 


点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html

查看所有标签

Non-Obvious

Non-Obvious

Rohit Bhargava / Ideapress Publishing / 2015-3-29 / USD 24.95

What do Disney, Bollywood, and The Batkid teach us about how to create celebrity experiences for our audiences? How can a vending-machine inspire world peace? Can being imperfect make your business mo......一起来看看 《Non-Obvious》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具