#41938 [Opn]: posix_getpgid() have broken example
| From: | rquadling@php.net | Date: | Tue, 10 Jul 2007 08:27:33 +0000 |
| Subject: | #41938 [Opn]: posix_getpgid() have broken example | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969377005@lists.php.net to get a copy of this message | ||
ID: 41938
Updated by: rquadling@php.net
Reported By: magnus@php.net
Status: Open
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
Can you confirm that the following code is accurate (I'm on windows and
don't have posix functions)...
<?php
$pid = posix_getppid();
echo posix_getpgid($pid);
?>
Previous Comments:
------------------------------------------------------------------------
[2007-07-09 13:37:46] magnus@php.net
Description:
------------
The function posix_getpgid() have broken example code.
It's missing $pid param.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41938&edit=1