(PECL xattr >= 0.9.0)
Set an extended attribute
bool xattr_set ( string $filename, string $name, string $value [, int $flags = 0 ] )
This function sets the value of an extended attribute of a file.
Extended attributes have two different namespaces: user and root. The user namespace is available to all users, while the root namespace is available only to users with root privileges. xattr operates on the user namespace