Doc #53645 [Opn->Asn]: Documentation is unclear or wrong

From: Date: Tue, 04 Jan 2011 13:03:10 +0000
Subject: Doc #53645 [Opn->Asn]: Documentation is unclear or wrong
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5736@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53645&edit=1 ID: 53645 Updated by: aharvey@php.net Reported by: ruedu at dustinrue dot com Summary: Documentation is unclear or wrong -Status: Open +Status: Assigned Type: Documentation Problem Package: Unknown/Other Function PHP Version: Irrelevant -Assigned To: +Assigned To: pdezwart Block user comment: N Private report: N New Comment: Looks like it returns an array sometimes. Pieter, can you clarify under what circumstances consume() returns an array and when it doesn't? Previous Comments: ------------------------------------------------------------------------ [2011-01-03 23:06:33] ruedu at dustinrue dot com Description: ------------ --- From manual page: http://www.php.net/amqpqueue.consume --- Documentation for AMQPQueue::consume claims you'll get an array returned but the function declaration suggests the method returns nothing. Using the method in a script seems to support that the method returns nothing. Expected result: ---------------- Documentation needs to be updated as well as the example on the page. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53645&edit=1

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