📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-29 18:00:01
📂
/
/
opt
/
alt
/
tests
/
alt-php85-pecl-zmq_1.1.3-2.84f0720.el8
/
tests
✏️
Editing: 010-pollsetinvalidargs.phpt
--TEST-- Test invalid args for ZMQPoll --SKIPIF-- <?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> --FILE-- <?php try { $poll = new ZMQPoll(); $poll->add('string here', 0); } catch (ZMQPollException $e) { echo "Got exception\n"; } try { $poll = new ZMQPoll(); $poll->add(new stdClass(), 0); } catch (ZMQPollException $e) { echo "Got second exception\n"; } --EXPECT-- Got exception Got second exception
💾 Save Changes
❌ Cancel