Page MenuHomePhabricator (Chris)

float32-007.phpt
No OneTemporary

Authored By
Unknown
Size
613 B
Referenced Files
None
Subscribers
None

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===

File Metadata

Mime Type
application/javascript
Expires
Sat, Nov 14, 11:48 PM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
135612
Default Alt Text
float32-007.phpt (613 B)

Event Timeline