Rust found 41538 primes up to 500000 in 0.080 seconds.

Total call time from PHP: 0.08253288269043 seconds