📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-02 20:28:27
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php85-pecl-amqp_2.1.2-2.el8
/
tests
📍 /opt/alt/tests/alt-php85-pecl-amqp_2.1.2-2.el8/tests
🔄 Refresh
✏️
Editing: amqpconnection_setPassword.phpt
Read Only
--TEST-- AMQPConnection setPassword --SKIPIF-- <?php if (!extension_loaded("amqp")) print "skip AMQP extension is not loaded"; elseif (!getenv("PHP_AMQP_HOST")) print "skip PHP_AMQP_HOST environment variable is not set"; ?> --FILE-- <?php $cnn = new AMQPConnection(); $cnn->setHost(getenv('PHP_AMQP_HOST')); var_dump($cnn->getPassword()); $cnn->setPassword('nonexistent'); var_dump($cnn->getPassword()); --EXPECTF-- string(5) "guest" string(11) "nonexistent"
💾 Save Changes
❌ Cancel