PHP
php 8.2.29
#16
Overall rank
7.91×
Score
17/17
Problems covered
0
Did not finish
Best result per problem
| Problem | Rank | Code | Time | Peak mem |
|---|---|---|---|---|
| binarytrees | #18 of 19 | 1.php | 3.91s | 118.8MB |
| coro-prime-sieve | #3 of 19 | 1.php | 378ms | 30.1MB |
| edigits | #4 of 19 | 1.php | 56ms | 29.6MB |
| fannkuch-redux | #16 of 19 | 1.php | 5.86s | 27.4MB |
| fasta | #14 of 19 | 1.php | 834ms | 27.5MB |
| http-server | #1 of 19 | 1.php | 23ms | 27.8MB |
| json-serde | #10 of 19 | 1.php | 852ms | 268.5MB |
| knucleotide | #15 of 18 | 1.php | 3.33s | 86.4MB |
| lru | #16 of 19 | 1.php | 589ms | 27.7MB |
| mandelbrot | #16 of 19 | 1.php | 7.27s | 27.4MB |
| merkletrees | #16 of 19 | 1.php | 2.44s | 89.1MB |
| nbody | #16 of 19 | 1.php | 2.28s | 27.4MB |
| nsieve | #16 of 19 | 1.php | 2.42s | 66.1MB |
| pidigits | #3 of 19 | 1.php | 296ms | 27.9MB |
| regex-redux | #6 of 18 | 1.php | 920ms | 141.2MB |
| secp256k1 | #9 of 19 | 1.php | 1.56s | 27.7MB |
| spectral-norm | #16 of 19 | 1.php | 28.12s | 27.3MB |
Head to head
PHP is faster on 1 of 17 shared problems
| Problem | PHP | C++ | Faster by |
|---|---|---|---|
| binarytrees | 3.91s | 649ms | C++ 6.02× |
| coro-prime-sieve | 378ms | 53ms | C++ 7.10× |
| edigits | 56ms | 24ms | C++ 2.33× |
| fannkuch-redux | 5.86s | 1.76s | C++ 3.33× |
| fasta | 834ms | 242ms | C++ 3.44× |
| http-server | 23ms | 27ms | PHP 1.20× |
| json-serde | 852ms | 327ms | C++ 2.60× |
| knucleotide | 3.33s | 275ms | C++ 12.09× |
| lru | 589ms | 96ms | C++ 6.11× |
| mandelbrot | 7.27s | 758ms | C++ 9.59× |
| merkletrees | 2.44s | 300ms | C++ 8.13× |
| nbody | 2.28s | 118ms | C++ 19.37× |
| nsieve | 2.42s | 276ms | C++ 8.76× |
| pidigits | 296ms | 180ms | C++ 1.65× |
| regex-redux | 920ms | 658ms | C++ 1.40× |
| secp256k1 | 1.56s | 430ms | C++ 3.62× |
| spectral-norm | 28.12s | 1.32s | C++ 21.29× |
Over time
Overall score after each run on Apple M5 laptop. Lower is faster.
| Run | PHP |
|---|---|
| Oct 19, 2026 | 13.77× |
| Oct 20, 2026 | 7.91× |
| Oct 20, 2026 | 7.91× |
| Run | Version | Rank | Score | Change |
|---|---|---|---|---|
| Oct 20, 2026 | php 8.2.29 | #16 | 7.91× | no change |
| Oct 20, 2026 | php 8.2.29 | #16 | 7.91× | 42.6% faster |
| Oct 19, 2026 | php 8.2.29 | unranked | 13.77× | – |