Bug #12523 Updated: posix_getgrgid won't work as documented
| From: | yohgaki@php.net | Date: | Mon, 04 Feb 2002 07:49:15 +0000 |
| Subject: | Bug #12523 Updated: posix_getgrgid won't work as documented | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-79058@lists.php.net to get a copy of this message | ||
ID: 12523
Updated by: yohgaki@php.net
-Summary: posix_getgrgid won't work as documented
Reported By: jason@spiraltribe.com
-Status: Open
+Status: Bogus
Bug Type: POSIX related
Operating System: linux
PHP Version: 4.0.6
New Comment:
It works with correct script. (4.2.0-dev)
$echo does not work :)
Previous Comments:
------------------------------------------------------------------------
[2001-08-01 20:02:37] jason@spiraltribe.com
<?php
$gid = 0; /* $gid = a group that has members */
$group = posix_getgrgid($gid);
$echo $group['members'];
/* Displays "0" regardless of actual contents of group */
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=12523&edit=1