posix_setgid

PHP 4, PHP 5, PHP 7, PHP 8
posix_setgid - Set the GID of the current process
Manual
Code Examples

Example #1 posix_setgid example

PHP Version: