Please wait while we load your page...

PasswordSentry

Latest Version [8.00202205221] Last Updated [May-22-2022]

Tools

PHP Manual [MongoDB\BSON\Int64

Protect Your Website Today


PHP Manual || MongoDB\BSON\Int64

(mongodb >=1.5.0)

MongoDB\BSON\Int64::__toStringReturns the string representation of this Int64

Description

final public MongoDB\BSON\Int64::__toString ( void ) : string

Parameters

This function has no parameters.

Return Values

Returns the string representation of this Int64.

Examples

Example #1 MongoDB\BSON\Int64::__toString() example

<?php

$int64 
unserialize('C:18:"MongoDB\BSON\Int64":47:{a:1:{s:7:"integer";s:19:"9223372036854775807";}}');

var_dump((string) $int64);

?>

The above example will output something similar to:

string(19) "9223372036854775807"

See Also



PHP Manual || MongoDB\BSON\Int64