Viewing File: /opt/alt/tests/alt-php82-pecl-mongodb_1.18.1-1.el8/tests/bson-undefined-tostring-001.phpt

--TEST--
MongoDB\BSON\Undefined::__toString()
--FILE--
<?php

$undefined = MongoDB\BSON\toPHP(MongoDB\BSON\fromJSON('{ "undefined": {"$undefined": true} }'))->undefined;
var_dump((string) $undefined);

?>
===DONE===
<?php exit(0); ?>
--EXPECT--
string(0) ""
===DONE===
Back to Directory File Manager
<