The filegroup() function returns the group ID of the specified file.This function returns the group ID on success or FALSE on failure.
int filegroup ( string $filename )
Gets the file group. The group ID is returned in numerical format, use posix_getgrgid() to resolve it to a group name.
Parameter | Description |
---|---|
filename | Required. Specifies the file to check |
The result of this function is cached. Use clearstatcache() to clear the cache. This function doesn't produce meaningful results on Windows systems.