#41938 [Opn]: posix_getpgid() have broken example

From: Date: Tue, 10 Jul 2007 08:38:49 +0000
Subject: #41938 [Opn]: posix_getpgid() have broken example
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969377006@lists.php.net to get a copy of this message
ID: 41938 Updated by: derick@php.net Reported By: magnus@php.net Status: Open Bug Type: Documentation problem PHP Version: Irrelevant New Comment: That seems to work for me Richard Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc (#969377006) next »