Doc #54753 [Opn->Csd]: Missing default value in msg_get_queue prototype
| From: | dtajchreber@php.net | Date: | Mon, 16 May 2011 15:51:22 +0000 |
| Subject: | Doc #54753 [Opn->Csd]: Missing default value in msg_get_queue prototype | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-6421@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54753&edit=1
ID: 54753
Updated by: dtajchreber@php.net
Reported by: gwarnants at gmail dot com
Summary: Missing default value in msg_get_queue prototype
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: dtajchreber
Block user comment: N
Private report: 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.
Try it! https://edit.php.net
:)
Previous Comments:
------------------------------------------------------------------------
[2011-05-16 17:50:24] dtajchreber@php.net
Automatic comment from SVN on behalf of dtajchreber
Revision: http://svn.php.net/viewvc/?view=revision&revision=311094
Log: Doc Bug #54753 - Missing default value in msg_get_queue prototype -
added default value for perms in signature
http://lxr.php.net/opengrok/xref/PHP_5_3/ext/sysvmsg/sysvmsg.c#254
------------------------------------------------------------------------
[2011-05-16 17:43:32] gwarnants at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.msg-get-queue#Description
---
I think default value of $perms parameter should be 0666 like described
in the Parameters chapter, like this :
resource msg_get_queue ( int $key [, int $perms = 0666 ] )
Expected result:
----------------
resource msg_get_queue ( int $key [, int $perms = 0666 ] )
Actual result:
--------------
resource msg_get_queue ( int $key [, int $perms ] )
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54753&edit=1