Menu Riverview Church

FILEGROUP

Gets file group

SYNTAX

filegroup ( string $filename ) : int

PARAMETERS

filename

Path to the file.

RETURN

Returns the group ID of the file, or FALSE if an error occurs. The group ID is returned in numerical format, use posix_getgrgid() to resolve it to a group name. Upon failure, FALSE is returned.

EXAMPLES

1

1234567

2

Array
(
    [name] => root
    [passwd] => x
    [members] => Array
        (
        )

    [gid] => 1234567
)

PHP