Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F627364
amqpconnection_construct_with_rpc_timeout.phpt
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
338 B
Referenced Files
None
Subscribers
None
amqpconnection_construct_with_rpc_timeout.phpt
View Options
--TEST--
AMQPConnection constructor with rpc_timeout parameter in credentials
--SKIPIF--
<?php
if (!extension_loaded("amqp")) print "skip AMQP extension is not loaded";
?>
--FILE--
<?php
$credentials = array('rpc_timeout' => 303.303);
$cnn = new AMQPConnection($credentials);
var_dump($cnn->getRpcTimeout());
?>
--EXPECT--
float(303.303)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 15, 1:57 AM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
139595
Default Alt Text
amqpconnection_construct_with_rpc_timeout.phpt (338 B)
Attached To
Mode
R113 php-ampqp
Attached
Detach File
Event Timeline