gmp_add — Add numbers
$num1
$num2
Add two numbers.
num1
The first summand (augent).
A GMP object, an int or a numeric string.
num2
The second summand (addend).
A GMP number representing the sum of the arguments.
Example #1 gmp_add() example
<?php$sum = gmp_add("123456789012345", "76543210987655");echo gmp_strval($sum) . "\n";?>
The above example will output:
200000000000000