filegroup
filegroup
Gets file group
**filegroup** string $filename
Gets the file group. The group ID is returned in numerical format, use
to resolve it to a group name.
posix_getgrgid
filenamePath to the file.
Returns the group ID of the file, or false if
an error occurs. The group ID is returned in numerical format, use
to resolve it to a group name.
Upon failure, false is returned.
posix_getgrgid
Upon failure, an is emitted.
E_WARNING
Voorbeeld: Finding the group of a file
<?php
$filename = 'index.php';
print_r(posix_getgrgid(filegroup($filename)));
?>
fileowner``posix_getgrgid