gmp_div_qr

PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
gmp_div_qr - Divide numbers and get quotient and remainder
Manual
Code Examples

Example #1 Division of GMP numbers

PHP Version: