Doc #52815 [Asn->Csd]: pclose return value documentation.
| From: | kalle@php.net | Date: | Fri, 22 Oct 2010 12:10:41 +0000 |
| Subject: | Doc #52815 [Asn->Csd]: pclose return value documentation. | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5331@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: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Assigned To: kalle
Block user comment: N
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.
Previous Comments:
------------------------------------------------------------------------
[2010-10-22 14:09:55] kalle@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=304618
Log: Fixed bug #52815 (pclose return value documentation.)
# The same applies to proc_close() as they both use the same
# internal exit logic
------------------------------------------------------------------------
[2010-10-22 13:41:24] kalle@php.net
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.
------------------------------------------------------------------------
[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