SequoiaDB
 All Classes Files Functions Variables Pages
Public Member Functions | List of all members
SequoiaINT64 Class Reference

Public Member Functions

 __construct ($number)
 
 __toString ()
 

Detailed Description

Class for create an object of the int64 type(Only when PHP does not support Int64)

Constructor & Destructor Documentation

SequoiaINT64::__construct (   $number)

Constructor.

Parameters
string$numberis a string of 64-bit integer
$int64Obj = new SequoiaINT64( '10000000000' ) ;
$arr = array( 'number' => $int64Obj ) ; // json ==> { "number": 10000000000 }

Member Function Documentation

SequoiaINT64::__toString ( )

PHP Magic Methods, the class as string output.

Returns
numeric string

The documentation for this class was generated from the following file: