Doc #52815 [Opn->Asn]: pclose return value documentation.
| From: | kalle@php.net | Date: | Fri, 22 Oct 2010 11:41:24 +0000 |
| Subject: | Doc #52815 [Opn->Asn]: pclose return value documentation. | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5330@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: Open
+Status: Assigned
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: kalle
Block user comment: N
New Comment:
Ill take this one, seems like the source of pclose() tells that theres a
difference between Windows and other systems in the value thats
returned. Plus the "error" return value is not documented either.
Previous Comments:
------------------------------------------------------------------------
[2010-10-19 06:08:27] kalle@php.net
Zeev doesn't fix documentation bugs, removing the assigned to status
------------------------------------------------------------------------
[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