php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12523 posix_getgrgid won't work as documented
Submitted: 2001-08-01 20:02 UTC Modified: 2002-02-04 02:49 UTC
From: jason at spiraltribe dot com Assigned:
Status: Not a bug Package: POSIX related
PHP Version: 4.0.6 OS: linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jason at spiraltribe dot com
New email:
PHP Version: OS:

 

 [2001-08-01 20:02 UTC] jason at spiraltribe dot 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 */

?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-04 02:49 UTC] yohgaki@php.net
It works with correct script. (4.2.0-dev)
$echo does not work :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 01 16:01:30 2024 UTC