MongoInt64::__construct

Creates a new 64-bit integer.

Note:

This extension that defines this class is deprecated. Instead, the MongoDB extension should be used. There is no equivalent for this class in the new extension.

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

Description

public MongoInt64::__construct ( string $value )

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

Parameters

value

A number.

Return Values

Returns a new integer.