PATH:
opt
/
alt
/
tests
/
alt-php80-pecl-amqp_2.1.2-1.el8
/
tests
<?php function dump_methods($obj) { $methods = get_class_methods($obj); echo get_class($obj), PHP_EOL; foreach($methods as $m) { if ($m[0] == '_') { // ignore all _* methods continue; } echo ' ', $m, '():', PHP_EOL, ' ', ' '; var_dump($obj->$m()); } } function dump_message($msg) { if (!$msg) { var_dump($msg); return false; } echo get_class($msg), PHP_EOL; echo " getBody:", PHP_EOL, " "; var_dump($msg->getBody()); echo " getContentType:", PHP_EOL, " "; var_dump($msg->getContentType()); echo " getRoutingKey:", PHP_EOL, " "; var_dump($msg->getRoutingKey()); echo " getConsumerTag:", PHP_EOL, " "; var_dump($msg->getConsumerTag()); echo " getDeliveryTag:", PHP_EOL, " "; var_dump($msg->getDeliveryTag()); echo " getDeliveryMode:", PHP_EOL, " "; var_dump($msg->getDeliveryMode()); echo " getExchangeName:", PHP_EOL, " "; var_dump($msg->getExchangeName()); echo " isRedelivery:", PHP_EOL, " "; var_dump($msg->isRedelivery()); echo " getContentEncoding:", PHP_EOL, " "; var_dump($msg->getContentEncoding()); echo " getType:", PHP_EOL, " "; var_dump($msg->getType()); echo " getTimeStamp:", PHP_EOL, " "; var_dump($msg->getTimeStamp()); echo " getPriority:", PHP_EOL, " "; var_dump($msg->getPriority()); echo " getExpiration:", PHP_EOL, " "; var_dump($msg->getExpiration()); echo " getUserId:", PHP_EOL, " "; var_dump($msg->getUserId()); echo " getAppId:", PHP_EOL, " "; var_dump($msg->getAppId()); echo " getMessageId:", PHP_EOL, " "; var_dump($msg->getMessageId()); echo " getReplyTo:", PHP_EOL, " "; var_dump($msg->getReplyTo()); echo " getCorrelationId:", PHP_EOL, " "; var_dump($msg->getCorrelationId()); echo " getHeaders:", PHP_EOL, " "; var_dump($msg->getHeaders()); return false; } function consumeThings($message, $queue) { var_dump($message); return false; }
[-] amqpconnection_setTimeout_float.phpt
[edit]
[-] amqpconnection_setRpcTimeout_string.phpt
[edit]
[-] amqpconnection_setTimeout_out_of_range.phpt
[edit]
[-] amqpconnection_setRpcTimeout_out_of_range.phpt
[edit]
[-] amqpconnection_setTimeout_deprecated.phpt
[edit]
[-] testtest.phpt
[edit]
[-] amqpexchange_declare_with_stalled_reference.phpt
[edit]
[-] amqpconnection_construct_ini_read_timeout.phpt
[edit]
[-] amqpconnection_setSaslMethod.phpt
[edit]
[-] amqpconnection_setRpcTimeout_float.phpt
[edit]
[-] amqpconnection_construct_with_verify_false.phpt
[edit]
[-] amqpconnection_construct_params_by_value.phpt
[edit]
[-] amqpconnection_setWriteTimeout_float.phpt
[edit]
[-] amqpconnection_setHost.phpt
[edit]
[-] amqpconnection_setLogin.phpt
[edit]
[-] amqpbasicproperties.phpt
[edit]
[-] amqpconnection_construct_with_write_timeout.phpt
[edit]
[-] amqpdecimal.phpt
[edit]
[-] amqptimestamp.phpt
[edit]
[-] amqpconnection_setWriteTimeout_out_of_range.phpt
[edit]
[-] amqpconnection_setPort_out_of_range.phpt
[edit]
[-] amqpconnection_validation.phpt
[edit]
[-] amqpconnection_setRpcTimeout_int.phpt
[edit]
[-] amqpbasicproperties_nullability.phpt
[edit]
[-] amqpenvelope_construct.phpt
[edit]
[-] amqpconnection_setPassword.phpt
[edit]
[-] amqpconnection_setPort_string.phpt
[edit]
[-] amqpconnection_setWriteTimeout_int.phpt
[edit]
[-] amqpconnection_construct_ini_timeout_default.phpt
[edit]
[+]
..
[-] amqpconnection_setReadTimeout_int.phpt
[edit]
[-] amqpconnection_setVhost.phpt
[edit]
[-] amqpconnection_setWriteTimeout_string.phpt
[edit]
[-] amqpconnection_setReadTimeout_string.phpt
[edit]
[-] amqpconnection_construct_with_timeout.phpt
[edit]
[-] amqpconnection_setConnectionName.phpt
[edit]
[-] amqpconnection_setTimeout_int.phpt
[edit]
[-] bug_62354.phpt
[edit]
[-] amqpconnection_construct_with_rpc_timeout.phpt
[edit]
[-] amqpconnection_construct_ini_timeout.phpt
[edit]
[-] amqpconnection_nullable_setters.phpt
[edit]
[-] amqpqueue_declare_with_stalled_reference.phpt
[edit]
[-] amqpconnection_setReadTimeout_float.phpt
[edit]
[-] amqpconnection_setTimeout_string.phpt
[edit]
[-] amqpconnection_construct_with_connection_name.phpt
[edit]
[-] _test_helpers.php.inc
[edit]
[-] amqpconnection_setReadTimeout_out_of_range.phpt
[edit]
[-] amqpconnection_setSaslMethod_invalid.phpt
[edit]
[-] amqpqueue_purge_basic.phpt
[edit]
[-] amqp_version.phpt
[edit]
[-] amqpconnection_construct_with_timeout_and_read_timeout.phpt
[edit]
[-] ini_validation_failure.phpt
[edit]
[-] amqpconnection_setPort_int.phpt
[edit]
[-] amqpconnection_construct_ini_timeout_and_read_timeout.phpt
[edit]