PHP filegroup() Function
❮ PHP Filesystem ReferenceDefinition and Usage
The filegroup() function returns the group ID of a file.
Tip: Use the posix_getgrgid() function to convert the group ID to a group name.
Note: The result of this function is cached. Use clearstatcache() to clear the cache.
Syntax
filegroup(filename)
Parameter Values
Parameter | Description |
---|---|
filename | Required. Specifies the path to the file to check |
Technical Details
Return Value: | The group ID for the file on success, FALSE on failure |
---|---|
PHP Version: | 4.0+ |
❮ PHP Filesystem Reference
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.