Php/docs/mongoint32.construct

提供:Dev Guides
< Php
2020年12月14日 (月) 09:45時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

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.