MongoDB\BSON\Int64::__toString

Returns the string representation of this Int64

説明

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

パラメータ

この関数にはパラメータはありません。

戻り値

Returns the string representation of this Int64.

例1 MongoDB\BSON\Int64::__toString example

<?php

$int64 
= new MongoDB\BSON\Int64('9223372036854775807');

var_dump((string) $int64);

?>

上の例の出力は、 たとえば以下のようになります。

string(19) "9223372036854775807"