📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-06-26 15:04:53
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php85-pecl-mongodb_2.3.1-1.el8
/
tests
📍 /opt/alt/tests/alt-php85-pecl-mongodb_2.3.1-1.el8/tests
🔄 Refresh
✏️
Editing: bson-binary-toarray_error-001.phpt
Read Only
--TEST-- MongoDB\BSON\Binary::toArray() requires vector subtype --FILE-- <?php require_once __DIR__ . '/../utils/basic.inc'; echo throws(function() { (new MongoDB\BSON\Binary(''))->toArray(); }, 'MongoDB\Driver\Exception\LogicException'), "\n"; ?> ===DONE=== <?php exit(0); ?> --EXPECT-- OK: Got MongoDB\Driver\Exception\LogicException Expected Binary of type vector (9) but it is 0 ===DONE===
💾 Save Changes
❌ Cancel