Php/docs/mongoint32.construct

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

MongoInt32::__construct

(PECL mongo >= 1.0.9)

MongoInt32::__constructCreates a new 32-bit integer


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

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

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

説明

public MongoInt32::__construct ( string $value )

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


パラメータ

value
A number.


返り値

Returns a new integer.