gmp_sub()
gmp_sub - Subtract numbers
Syntax
resource gmp_sub (
resource $a,
resource $b)
Arguments
- a - The number being subtracted from. It can be either a GMP number resource, or a numeric string given that it is possible to convert the latter to a number.
- b - The number subtracted from a. It can be either a GMP number resource, or a numeric string given that it is possible to convert the latter to a number.
Description
Subtracts b from a and returns the result.
Version
PHP 4.0.4, 5
Return value
A GMP number resource.