gmp_binomial()

The gmp_binomial() function can be used to calculate binomial coefficients:

var_dump(gmp_binomial(49, 6));

Executing the code shown above will print the output shown below:

object(GMP)#1 (1) {
  ["num"]=>
  string(8) "13983816"
}