gmp_prob_prime

PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
gmp_prob_prime - Check if number is "probably prime"
Manual
Code Examples

Example #1 gmp_prob_prime example

Result: 0 1 2
PHP Version: