MongoInt32
PHP Manual

MongoInt32::__construct

(PECL mongo >= 1.0.9)

MongoInt32::__constructCreates a new 32-bit integer.

说明

public MongoInt32::__construct ( string $value )

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

参数

value

A number.

返回值

Returns a new integer.


MongoInt32
PHP Manual