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
  • Format input from a file fscanf

    fscanf

    Formatinputfromafile
  • Close process file pointer pclose

    pclose

    Closeprocessfilepoin
  • Return the target of the symbolic link readlink

    readlink

    Returnthetargetofthe
  • Delete directory rmdir

    rmdir

    Deletedirectory
  • Returns the location where the file pointer is read/write ftell

    ftell

    Returnsthelocationwh
  • Create a file with a unique file name tempnam

    tempnam

    Createafilewithauniq
  • Format the line to CSV and write to the file pointer fputcsv

    fputcsv

    FormatthelinetoCSVan
  • Returns the file path information pathinfo

    pathinfo

    Returnsthefilepathin
Popular Articles