|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65295 setName (queue, exchange) return value inconsistent
Submitted: 2013-07-19 09:29 UTC Modified: 2018-03-25 16:24 UTC
From: metamorfozis at metamorfozis dot hu Assigned: cmb (profile)
Status: Closed Package: amqp (PECL)
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2013-07-19 09:29 UTC] metamorfozis at metamorfozis dot hu

It says in the description that:

"Returns TRUE on success or FALSE on failure."

- it returns an exception, if the string is empty
- it returns NULL on succes
- it returns NULL on failure also. (if the connection is died)
(I did not found any case where it returns true)

Please fix that!
Thank you!


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-03-25 16:24 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2018-03-25 16:24 UTC]
The amqp book has been removed from the PHP manual in the
meantime[1], which renders this ticket obsolete.

[1] <>
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Jul 30 17:01:23 2021 UTC