MongoBinData::__toString
MongoInt32::__construct
Types
PHP Manual
The MongoInt32 class
Introduction
The class can be used to save 32-bit integers to the database on a 64-bit system.
Class synopsis
MongoInt32
{
/* Fields */
public
string
$
MongoInt32->value
;
/* Methods */
public
MongoInt32::__construct
(
string
$value
)
public
string
MongoInt32::__toString
(
void
)
}
Fields
value
This is the string value of the 64-bit number. For instance, 123's value would be "123".
Table of Contents
MongoInt32::__construct
— Creates a new 32-bit integer.
MongoInt32::__toString
— Returns the string representation of this 32-bit integer.
MongoBinData::__toString
MongoInt32::__construct
Types
PHP Manual