Viewing File: /opt/alt/tests/alt-php84-pecl-mongodb_1.20.0-2.el8/tests/bson-undefined-tostring-001.phpt

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

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

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