--TEST-- MongoDB\BSON\Symbol::__toString() --FILE-- symbol; var_dump((string) $symbol); ?> ===DONE=== --EXPECT-- string(11) "symbolValue" ===DONE===