Doc #54755 [Opn->Csd]: Missing default value for 4th parameter in msg_send()

From: Date: Tue, 17 May 2011 21:06:17 +0000
Subject: Doc #54755 [Opn->Csd]: Missing default value for 4th parameter in msg_send()
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6468@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54755&edit=1 ID: 54755 Updated by: salathe@php.net Reported by: gwarnants at gmail dot com Summary: Missing default value for 4th parameter in msg_send() -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: salathe 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. Previous Comments: ------------------------------------------------------------------------ [2011-05-17 23:05:56] salathe@php.net Automatic comment from SVN on behalf of salathe Revision: http://svn.php.net/viewvc/?view=revision&revision=311150 Log: intializers for msg_send() (doc #54755) ------------------------------------------------------------------------ [2011-05-16 17:52:27] gwarnants at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.msg-send#Description --- According to the english description of the 4th parameter ($serialize) "serialize defaults to TRUE..." I think the prototype should mention its default value. This prototype should be more accurate : bool msg_send ( resource $queue , int $msgtype , mixed $message [, bool $serialize = true [, bool $blocking [, int &$errorcode ]]] ) Expected result: ---------------- bool msg_send ( resource $queue , int $msgtype , mixed $message [, bool $serialize = true [, bool $blocking [, int &$errorcode ]]] ) Actual result: -------------- bool msg_send ( resource $queue , int $msgtype , mixed $message [, bool $serialize [, bool $blocking [, int &$errorcode ]]] ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54755&edit=1

« previous php.doc.bugs (#6468) next »