chgrp in PHP

Syntax of chgrp in PHP bool chgrp(string path, mixed group) Changes the group for the file path to group; PHP must have appropriate privileges for this function to work. Returns true if the change was successful and false if not.