📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-29 14:47:30
📂
/
/
opt
/
alt
/
tests
/
alt-php83-pecl-mongodb_1.18.1-1.el8
/
tests
✏️
Editing: bug0325.phpt
--TEST-- Test for PHPC-325: Memory leak decoding buffers with multiple documents --FILE-- <?php require_once __DIR__ . '/../utils/basic.inc'; $bson1 = fromJSON('{"x": "y"}'); $bson2 = fromJSON('{"a": "b"}'); try { var_dump(toPHP($bson1 . $bson2)); } catch (MongoDB\Driver\Exception\UnexpectedValueException $e) { echo $e->getMessage(), "\n"; } ?> ===DONE=== <?php exit(0); ?> --EXPECT-- Reading document did not exhaust input buffer ===DONE===
💾 Save Changes
❌ Cancel