Doc #52815 [Opn]: pclose return value documentation.
| From: | markskilbeck@php.net | Date: | Sun, 19 Sep 2010 14:09:07 +0000 |
| Subject: | Doc #52815 [Opn]: pclose return value documentation. | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5079@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: markskilbeck@php.net
Reported by: bennet at mc dot edu
Summary: pclose return value documentation.
Status: Open
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: zeev
Block user comment: N
New Comment:
Assigned to one of maintainers
Previous Comments:
------------------------------------------------------------------------
[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