Func Filesystem Chgrp
# PHP chgrp() Function
* * Complete PHP Filesystem Reference](#)
* * *
## Definition and Usage
The chgrp() function changes the user group of a specified file.
Returns TRUE on success, FALSE on failure.
## Syntax
chgrp(file,group)
| Parameter | Description |
| :--- | :--- |
| file | Required. Specifies the file to check. |
| group | Optional. Specifies the new group. Can be a group name or a group ID. |
* * *
## Example
* * Complete PHP Filesystem Reference](#)
YouTip