GMP
final class GMP (View source)
A GMP number. These objects support overloaded arithmetic, bitwise and comparison operators.
Methods
__construct(int|string $num = 0, int $base = 0)
Create GMP number
array
__serialize()
Get array representation of object
void
__unserialize(array $data)
Reconstructs the GMP object from array representation
Details
__construct(int|string $num = 0, int $base = 0)
Since: 8.2
Create GMP number
Creates a GMP number from an integer or string.
array
__serialize()
Get array representation of object
void
__unserialize(array $data)
Reconstructs the GMP object from array representation