Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

The MongoInt32 class

(PECL mongo >=1.0.9)


The class can be used to save 32-bit integers to the database on a 64-bit system.

Class synopsis

MongoInt32 {
/* Fields */
public string $value ;
/* Methods */
public __construct ( string $value )
public string __toString ( void )


This is the string value of the 32-bit number. For instance, 123's value would be "123".

Table of Contents

PHP Manual