ZerethShell
File Manager
SQL Manager
/
opt
/
alt
/
tests
/
alt-php85-pecl-mongodb_2.3.1-1.el8
/
tests
int8-005.phpt
--TEST-- Tests of Binary subtype 9, Vectors, with dtype INT8: INT8 with padding --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 [127,7] with padding 3 echo 'Vector type Int8 does not support padding: 3', "\n"; throws(function() { var_dump(MongoDB\BSON\Document::fromBSON(hex2bin('1600000005766563746F7200040000000903037F0700'))); }, 'MongoDB\Driver\Exception\InvalidArgumentException'); ?> ===DONE=== <?php exit(0); ?> --EXPECT-- Vector type Int8 does not support padding: 3 OK: Got MongoDB\Driver\Exception\InvalidArgumentException ===DONE===
Kaydet
Vazgeç