Supported Versions: PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
Create GMP number
gmp_init(int|string $numint $base 0): GMP
    public function testCastGmp()

    {

        
$gmpString gmp_init('1234');

        
$gmpOctal gmp_init(010);

        
$gmp gmp_init('01101');

        
$gmpDump = <<<EODUMP
    public function testCastGmp()

    {

        
$gmpString gmp_init('1234');

        
$gmpOctal gmp_init(010);

        
$gmp gmp_init('01101');

        
$gmpDump = <<<EODUMP

array:1 [
    {

        
$gmpString gmp_init('1234');

        
$gmpOctal gmp_init(010);

        
$gmp gmp_init('01101');

        
$gmpDump = <<<EODUMP

array:1 [

  "\\x00~\\x00value" => %s