Easy Tutorial
❮ Php File Func Simplexml Registerxpathnamespace ❯

PHP filegroup() Function



Definition and Usage

The filegroup() function returns the group ID of the specified file.

If successful, the function returns the ID of the group to which the specified file belongs. If it fails, it returns FALSE.

Syntax

Parameter Description
filename Required. Specifies the file to check.

Tips and Notes

Note: The result of this function is cached. Use clearstatcache() to clear the cache.

Note: This function does not work on Windows systems.

Tip: Use posix_getgrgid() to convert the group ID to a group name.


Example


❮ Php File Func Simplexml Registerxpathnamespace ❯