php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #61211 wrong keys documented
Submitted: 2012-02-29 17:19 UTC Modified: 2012-03-02 20:15 UTC
From: php at shark dot kom dot cz Assigned: pdezwart (profile)
Status: Closed Package: amqp (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at shark dot kom dot cz
New email:
PHP Version: OS:

 

 [2012-02-29 17:19 UTC] php at shark dot kom dot cz
Description:
------------
Documentation says, there are keys Content-type and Content-encoding. At least for Content-type it's incorrect, because correct key is content_type. Tested on RabbitMQ version 2.6.1

---
From manual page: http://www.php.net/amqpexchange.publish
---



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-02 20:15 UTC] pdezwart@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

You are absolutely correct, sorry for the confusion. It is both content_type and 
content_encoding. I have updated the PHP Documentation, which will get refreshed 
either today or next Friday. Thank you for the feedback!
 [2012-03-02 20:15 UTC] pdezwart@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pdezwart
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 13 12:01:27 2025 UTC