Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
opt
/
php-8.3
/
share
/
test
/
mongodb
/
tests
/
bson
/
//proc/thread-self/root/opt/php-8.3/share/test/mongodb/tests/bson/bson-dbpointer-tostring-001.phpt
--TEST-- MongoDB\BSON\DBPointer::__toString() --FILE-- <?php $dbref = MongoDB\BSON\Document::fromJSON('{ "dbref": {"$dbPointer": {"$ref": "phongo.test", "$id" : { "$oid" : "5a2e78accd485d55b4050000" } }} }')->toPHP()->dbref; var_dump((string) $dbref); ?> ===DONE=== <?php exit(0); ?> --EXPECT-- string(38) "[phongo.test/5a2e78accd485d55b4050000]" ===DONE===