📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-02 02:59:21
📂
/ (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: packed_bit-008.phpt
Read Only
--TEST-- Tests of Binary subtype 9, Vectors, with dtype PACKED_BIT: Exceeding maximum padding PACKED_BIT --XFAIL-- Document memory leak (PHPC-2648) --DESCRIPTION-- Generated by scripts/convert-bson-binary-vector-tests.php DO NOT EDIT THIS FILE --FILE-- <?php require_once __DIR__ . '/../utils/basic.inc'; // Vector [1] with padding 8 echo 'Expected padding [0..7], 8 given', "\n"; throws(function() { var_dump(MongoDB\BSON\Document::fromBSON(hex2bin('1500000005766563746F7200030000000910080100'))); }, 'MongoDB\Driver\Exception\InvalidArgumentException'); ?> ===DONE=== <?php exit(0); ?> --EXPECT-- Expected padding [0..7], 8 given OK: Got MongoDB\Driver\Exception\InvalidArgumentException ===DONE===
💾 Save Changes
❌ Cancel