Viewing File: /opt/alt/tests/alt-php83-pecl-mongodb_1.18.1-1.el8/tests/bson-binary-jsonserialize-001.phpt

--TEST--
MongoDB\BSON\Binary::jsonSerialize() return value
--FILE--
<?php

$binary = new MongoDB\BSON\Binary('gargleblaster', 24);
var_dump($binary->jsonSerialize());

?>
===DONE===
<?php exit(0); ?>
--EXPECT--
array(2) {
  ["$binary"]=>
  string(20) "Z2FyZ2xlYmxhc3Rlcg=="
  ["$type"]=>
  string(2) "18"
}
===DONE===
Back to Directory File Manager
<