I searched for this information on Google but couldn't find anything detailed. I was reading about the chgrp() and it mentioned that this function can change file group.
There is no explanation about what a file group is. I also tried to run the example on reference page to see if the output could help me understand more about the function but the output seemed to be just the number zero. Here is the example code:
$filename = 'stats.txt';
$format = "%s's Group ID @ : %d\n";
printf($format, $filename, filegroup($filename));
chgrp($filename, 10);
clearstatcache(); // do not cache filegroup() results
printf($format, $filename, filegroup($filename));
Here is the output of that code:
stats.txt's Group ID : 0
stats.txt's Group ID : 0