BSON\ObjectID
PHP Manual

BSON\ObjectID::__toString

(mongodb >=0.2.0)

BSON\ObjectID::__toStringDescription

Description

public ReturnType BSON\ObjectID::__toString ( void )

Parameters

This function has no parameters.

Return Values

Errors/Exceptions

Examples

Example #1 BSON\ObjectID::__toString() example

<?php

/* ... */

?>

The above example will output something similar to:

...

See Also


BSON\ObjectID
PHP Manual