php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #54753 Missing default value in msg_get_queue prototype
Submitted: 2011-05-16 17:43 UTC Modified: 2011-05-16 17:51 UTC
From: gwarnants at gmail dot com Assigned: dtajchreber (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2011-05-16 17:43 UTC] 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 ] )

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-05-16 17:50 UTC] 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:51 UTC] dtajchreber@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: dtajchreber
 [2011-05-16 17:51 UTC] dtajchreber@php.net
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

:)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 09:01:30 2024 UTC