Doc->Bug #65185 [Opn]: pcntl_errno() is wrongly defined as an alias of pcntl_strerror()
| From: | krakjoe@php.net | Date: | Fri, 04 Oct 2013 17:18:25 +0000 |
| Subject: | Doc->Bug #65185 [Opn]: pcntl_errno() is wrongly defined as an alias of pcntl_strerror() | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-10413@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65185&edit=1
ID: 65185
Updated by: krakjoe@php.net
Reported by: benjamin dot morel at gmail dot com
Summary: pcntl_errno() is wrongly defined as an alias of
pcntl_strerror()
Status: Open
-Type: Documentation Problem
+Type: Bug
Package: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Somebody please look at this and clarify that the alias is correct and pass it back to doc team with
clarification attached.
Previous Comments:
------------------------------------------------------------------------
[2013-07-02 17:26:03] benjamin dot morel at gmail dot com
Description:
------------
The documentation:
http://php.net/manual/en/function.pcntl-errno.php
Says that pcntl_errno() is an alias for pcntl_strerror(), whereas it's actually an
alias for pcntl_get_last_error(), as seen in the source code:
https://github.com/php/php-src/blob/master/ext/pcntl/pcntl.c#L160
Expected result:
----------------
Alias of pcntl_get_last_error()
Actual result:
--------------
Alias of pcntl_strerror()
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65185&edit=1