ZerethShell
File Manager
SQL Manager
/
opt
/
alt
/
tests
/
alt-php85-pecl-mongodb_2.3.1-1.el8
/
tests
float32-007.phpt
--TEST-- Tests of Binary subtype 9, Vectors, with dtype FLOAT32: Insufficient vector data with 5 bytes FLOAT32 --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'; throws(function() { var_dump(MongoDB\BSON\Document::fromBSON(hex2bin('1900000005766563746F7200070000000927002A2A2A2A2A00'))); }, 'MongoDB\Driver\Exception\InvalidArgumentException'); ?> ===DONE=== <?php exit(0); ?> --EXPECT-- OK: Got MongoDB\Driver\Exception\InvalidArgumentException ===DONE===
Kaydet
Vazgeç