Doc #53645 [Asn->Fbk]: Documentation is unclear or wrong
| From: | pdezwart@php.net | Date: | Tue, 04 Jan 2011 18:56:15 +0000 |
| Subject: | Doc #53645 [Asn->Fbk]: Documentation is unclear or wrong | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5748@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: pdezwart@php.net
Reported by: ruedu at dustinrue dot com
Summary: Documentation is unclear or wrong
-Status: Assigned
+Status: Feedback
Type: Documentation Problem
Package: Unknown/Other Function
PHP Version: Irrelevant
Assigned To: pdezwart
Block user comment: N
Private report: N
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Using the basic example I was able to dump out messages from the given
queue. Can you please provide more information:
- version of RabbitMQ broker
- version of rabbit-c client
- version of PHP
- Script + output
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2011-01-04 14:03:10] aharvey@php.net
Looks like it returns an array sometimes. Pieter, can you clarify under
what circumstances consume() returns an array and when it doesn't?
------------------------------------------------------------------------
[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