PHP
The Zend Engine: a bytecode virtual machine with reference counting and a cycle collector, run here through the command-line interpreter.
www.php.net ↗- Overall speed rank
- -
- no data yet
- Latest release
- 8.6
- 8 tracked releases since 2019
- Strongest on
- -
- Weakest on
- -
Performance by problem
Newest release (8.6), default build (php -d memory_limit=-1). The index is how many times slower this language is than the fastest entry on that problem (1.00× = fastest); rank is among all languages.
The first scheduled GitHub Actions run will publish real measurements here. Everything on this page is computed from raw iterations in data/.
Build settings
php -d memory_limit=-1 default
Default interpreter without OPcache or JIT; only the memory limit is lifted.
php -d memory_limit=-1 {harness}/harness.php {src}/main.phpEvery release (default build)
The first scheduled GitHub Actions run will publish real measurements here. Everything on this page is computed from raw iterations in data/.
Speed across releases
Did PHP get faster? Every tracked release plotted at its release date, one line per build setting. Shows time, memory or binary size over all problems by default.
The first scheduled GitHub Actions run will publish real measurements here. Everything on this page is computed from raw iterations in data/.
Release highlights
- PHP 8.6 2026-11-17
- PHP 8.5 2025-11-20Pipe operator · URI extension
- PHP 8.4 2024-11-21Property hooks · Asymmetric visibility
- PHP 8.3 2023-11-23Typed class constants · json_validate()
- PHP 8.2 2022-12-06
- PHP 8.1 2021-11-23
- PHP 8.0 2020-11-24
- PHP 7.4 2019-11-26
Badge
Show this language's overall rank in your README or website:
[](https://stijnris.github.io/language-bench/languages/php/)<a href="https://stijnris.github.io/language-bench/languages/php/"><img src="https://stijnris.github.io/language-bench/badges/php.svg" alt="PHP on language-bench"></a>