filegroup
(PHP 4, PHP 5)
filegroup — Gets file group
Beskrivelse
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.
Parameterliste
- filename
-
Path to the file.
Returneringsværdier
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: Resultatet af denne funktion er cached. Se clearstatcache() for flere detaljer.
Tip
Fra og med PHP 5.0.0 kan denne funktion også bruges med nogle URL wrappers. Se List of Supported Protocols/Wrappers for en liste over hvilke wrappers understøtter stat() familiens funktionalitet.