|
PHP5中文手册
xattr_list(PECL xattr:0.9-1.0) xattr_list — Get a list of extended attributes 说明
array xattr_list
( string $filename
[, int $flags
] )
This functions gets a list of names of extended attributes of a file. 扩展的属性有两个不同的名字空间:user 和 root 名字空间。user 名字空间对所有用户均有效,而 root 名字空间仅对拥有 root 权限的用户有效。xattr 默认在 user 名字空间上进行操作,但是可以使用 flags 参数进行更改。 参数
返回值This function returns an array with names of extended attributes. 范例
Example#1 Prints names of all extended attributes of file
<?php |