Home
last modified time | relevance | path

Searched refs:array_group (Results 1 – 1 of 1) sorted by relevance

/PHP-7.1/ext/posix/
H A Dposix.c979 int php_posix_group_to_array(struct group *g, zval *array_group) /* {{{ */ in php_posix_group_to_array() argument
987 if (array_group == NULL || Z_TYPE_P(array_group) != IS_ARRAY) in php_posix_group_to_array()
992 add_assoc_string(array_group, "name", g->gr_name); in php_posix_group_to_array()
994 add_assoc_string(array_group, "passwd", g->gr_passwd); in php_posix_group_to_array()
996 add_assoc_null(array_group, "passwd"); in php_posix_group_to_array()
1001 zend_hash_str_update(Z_ARRVAL_P(array_group), "members", sizeof("members")-1, &array_members); in php_posix_group_to_array()
1002 add_assoc_long(array_group, "gid", g->gr_gid); in php_posix_group_to_array()

Completed in 6 milliseconds