Doc #52815 [Asn->Opn]: pclose return value documentation.
| From: | kalle@php.net | Date: | Tue, 19 Oct 2010 04:08:27 +0000 |
| Subject: | Doc #52815 [Asn->Opn]: pclose return value documentation. | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5237@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52815&edit=1
ID: 52815
Updated by: kalle@php.net
Reported by: bennet at mc dot edu
Summary: pclose return value documentation.
-Status: Assigned
+Status: Open
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To: zeev
+Assigned To:
Block user comment: N
New Comment:
Zeev doesn't fix documentation bugs, removing the assigned to status
Previous Comments:
------------------------------------------------------------------------
[2010-09-19 16:09:07] markskilbeck@php.net
Assigned to one of maintainers
------------------------------------------------------------------------
[2010-09-11 07:22:20] bennet at mc dot edu
Description:
------------
Judging by some limited experience and the user notes, it appears that
the meaning of the return value from pclose() depends on whether php is
installed as an Apache module or run as CGI. In the former case, it
seems to return the actual exit code, while in the later it seems to
return the system status value which has to be pulled apart with pctl
functions.
If this is right, the documentation should reflect it. If not, the user
comments indicate considerable confusion on the subject, with
contradictory claims. A clarification seems necessary.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52815&edit=1