gmp_gcdext

PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
gmp_gcdext - Calculate GCD and multipliers
Manual
Code Examples

Example #1 Solving a linear Diophantine equation

PHP Version: