📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-07-11 23:40:11
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php81-pecl-zmq_1.1.3-1.84f0720.el8
/
tests
📍 /opt/alt/tests/alt-php81-pecl-zmq_1.1.3-1.84f0720.el8/tests
🔄 Refresh
✏️
Editing: 045-auth-allow-deny.phpt
Read Only
--TEST-- Test a ZMQAuth can whitelist or blacklist an IP address. --SKIPIF-- <?php require_once __DIR__ . '/skipif.inc'; require_once __DIR__ . '/skipif-czmq2.inc'; --FILE-- <?php $context = new ZMQContext(); $auth = new ZMQAuth($context); var_dump($auth->allow('127.0.0.1') === $auth); var_dump($auth->deny('192.168.0.1') === $auth); --EXPECT-- bool(true) bool(true)
💾 Save Changes
❌ Cancel