PHP function filegroup()

Availability in PHP 4.0

Gets file group

Parameters

Parameter Data type Default value Note
$filename string not Path to the file.

Return values

int

|bool the group ID of the file, or false in case of an error. The group ID is returned in numerical format, use posix_getgrgid to resolve it to a group name. Upon failure, false is returned.

Additional resources

Official filegroup documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.