posix_initgroups
Supported Versions: PHP 5 >= 5.2.0, PHP 7, PHP 8
Calculate the group access list
<?php posix_initgroups
(
string $username
,
int $group_id
):
bool