File manager - Edit - /opt/alt/tests/alt-php84-pecl-mongodb_1.20.0-2.el8/tests/bug0347.phpt
Back
--TEST-- Test for PHPC-347: Memory leak decoding empty buffer --FILE-- <?php require_once __DIR__ . '/../utils/basic.inc'; try { var_dump(toPHP('')); } catch (MongoDB\Driver\Exception\UnexpectedValueException $e) { echo $e->getMessage(), "\n"; } ?> ===DONE=== <?php exit(0); ?> --EXPECT-- Could not read document from BSON reader ===DONE===
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.12 |
proxy
|
phpinfo
|
Settings