Current Location: Home> Function Categories> chgrp

chgrp

Change the group to which the file belongs
Name:chgrp
Category:File system
Programming Language:php
One-line Description:Change the file group.

Example

 <span class="token php language-php"><span class="token delimiter important"><?php</span>
<span class="token function">chgrp</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"test.txt"</span> <span class="token punctuation">,</span> <span class="token string double-quoted-string">"admin"</span> <span class="token punctuation">)</span>
<span class="token delimiter important">?></span></span>
Similar Functions
  • Read the entire file into an array file

    file

    Readtheentirefileint
  • Open process file pointer popen

    popen

    Openprocessfilepoint
  • Close an open file pointer fclose

    fclose

    Closeanopenfilepoint
  • Check if the file or directory exists file_exists

    file_exists

    Checkifthefileordire
  • Delete directory rmdir

    rmdir

    Deletedirectory
  • Synchronize changes to files (including metadata) fsync

    fsync

    Synchronizechangesto
  • Return to the directory part in the path dirname

    dirname

    Returntothedirectory
  • alias for disk_free_space diskfreespace

    diskfreespace

    aliasfordisk_free_sp
Popular Articles