Php/docs/mongoint64.construct

提供:Dev Guides
< Php
移動先:案内検索

MongoInt64::__construct

(PECL mongo >= 1.0.9)

MongoInt64::__constructCreates a new 64-bit integer


このクラスを定義している拡張モジュールは非推奨です。

かわりに MongoDB 拡張モジュールを使うべきです。 このクラスの代替は、新しい拡張モジュールには存在しません。

Instead, the new extension chooses the appropriate database type depending on the integer's value.

説明

public MongoInt64::__construct ( string $value )

Creates a new 64-bit number with the given value.


パラメータ

value
A number.


返り値

Returns a new integer.