Doc #52815 [NEW]: pclose return value documentation.
| From: | bennet at mc dot edu | Date: | Sat, 11 Sep 2010 05:22:21 +0000 |
| Subject: | Doc #52815 [NEW]: pclose return value documentation. | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-5015@lists.php.net to get a copy of this message | ||
From:
Operating system:
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:pclose return value documentation.
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 bug report at http://bugs.php.net/bug.php?id=52815&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52815&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52815&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52815&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=52815&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52815&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=52815&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=52815&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=52815&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=52815&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=52815&r=support
Expected behavior: http://bugs.php.net/fix.php?id=52815&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=52815&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=52815&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=52815&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52815&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52815&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=52815&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=52815&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=52815&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=52815&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=52815&r=mysqlcfg