Description
string 
xattr_get ( string filename, string name [, int flags] )
   This function gets the value of an extended attribute of a file.
  
Extended attributes have two different namespaces: user 
and root namespace. User namespace is available for all users while root namespace
is available only for user with root privileges. xattr operates on user namespace 
by default, but you can change that using flags argument.