#41938 [Opn->Csd]: posix_getpgid() have broken example
| From: | rquadling@php.net | Date: | Tue, 10 Jul 2007 09:42:15 +0000 |
| Subject: | #41938 [Opn->Csd]: posix_getpgid() have broken example | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969377008@lists.php.net to get a copy of this message | ||
ID: 41938
Updated by: rquadling@php.net
Reported By: magnus@php.net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Example updated.
Previous Comments:
------------------------------------------------------------------------
[2007-07-10 08:38:49] derick@php.net
That seems to work for me Richard
------------------------------------------------------------------------
[2007-07-10 08:27:33] rquadling@php.net
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);
?>
------------------------------------------------------------------------
[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