AMQP_EX_TYPE_HEADER was changed to AMQP_EX_TYPE_HEADERS but PHP manual is not fixed yet.
(PECL amqp >= Unknown)
AMQPExchange::setType — Set the type of the exchange
Set the type of the exchange. This can be any of
This function is currently not documented; only its argument list is available.
The type of exchange as a string.
TRUE on success or
FALSE on failure.