gmp_mod

PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
gmp_mod - Modulo operation
Manual
Code Examples

Example #1 gmp_mod example

Result: 2
PHP Version: