xattr_list()
xattr_list - Get a list of extended attributes
Syntax
array xattr_list (
string $filename,
int $flags)
Arguments
- filename - The path of the file.
- flags - Supported xattr flags XATTR_DONTFOLLOW Do not follow the symbolic link but operate on symbolic link itself. XATTR_ROOT Set attribute in root (trusted) namespace. Requires root privileges.
Description
This functions gets a list of names of extended attributes of a file.
Version
PHP PECL xattr >= 0.9.0
Return value
This function returns an array with names of extended attributes.