gmp_prob_prime
Supported Versions: PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
Check if number is "probably prime"
<?php gmp_prob_prime
(
GMP
|
int
|
string $num
,
int $repetitions
=
10
):
int