final class GMP (View source)

Methods

__construct(int|string $num = 0, int $base = 0)

No description

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

No description

Parameters

int|string $num
int $base

array __serialize()

Get array representation of object

Return Value

array

The array representation of the GMP object.

void __unserialize(array $data)

Reconstructs the GMP object from array representation

Parameters

array $data

The array representation of the GMP object.

Return Value

void