Forum und email

filegroup

(PHP 4, PHP 5)

filegroup — Gets file group

Description

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.

Parameters

filename

Path to the file.

Return values

Returns 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.

Errors/Exceptions

Upon failure, an E_WARNING is emitted.

Notes

Note: Tämän funktion tulokset tallennetaan välimuistiin. Katso tarkemmat tiedot clearstatcache() sivulta.

Tip

PHP 5.0.0 versiosta lähtien tämä funktio tukee myös joitakin URL tyyppejä. Katso myös List of Supported Protocols/Wrappers.