📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: LiteSpeed
2026-07-01 21:14:29
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php83-pecl-zmq_1.1.3-1.84f0720.el8
/
tests
📍 /opt/alt/tests/alt-php83-pecl-zmq_1.1.3-1.84f0720.el8/tests
🔄 Refresh
✏️
Editing: 038-cert-construct.phpt
Read Only
--TEST-- Test a ZMQCert can be constructed. --SKIPIF-- <?php require_once __DIR__ . '/skipif.inc'; require_once __DIR__ . '/skipif-czmq2.inc'; --FILE-- <?php $cert = new ZMQCert(); var_dump((bool)$cert); date_default_timezone_set('Europe/London'); $dateTime = new DateTime(); try { $cert = new ZMQCert($dateTime); } catch (ZMQCertException $e) { var_dump($e->getMessage()); } --EXPECT-- bool(true) string(69) "ZMQCert::__construct() expects parameter 1 to be string, object given"
💾 Save Changes
❌ Cancel