PHP 8.5 was released in late 2025. Now, the PHP core team is already hard at work on PHP 8.6, expected to land in November 2026. What performance improvements and new features can we expect? Based on accepted RFCs, merged pull requests, and early benchmarks, here is your complete PHP 8.6 preview.
PHP 8.6: What We Know So Far
PHP 8.6 follows the standard PHP release cycle: Alpha releases begin in June 2026, Feature Freeze in August, Release Candidates in September-October, and General Availability in late November 2026. Based on the current development activity, here are the most impactful changes coming to PHP 8.6.
1. Partial Function Application (RFC Accepted)
The most anticipated feature of PHP 8.6 is partial function application. This feature allows you to create new functions from existing ones by pre-filling some of their arguments. It is a powerful tool for functional programming patterns and code reuse.
// PHP 8.6: Partial function application
function add($a, $b) {
return $a + $b;
}
$addFive = add(5, ?); // Creates a new function with $a = 5
echo $addFive(10); // Outputs: 15
echo $addFive(20); // Outputs: 25This syntax uses the ? placeholder to indicate arguments that will be supplied later. It is a significant step forward for PHP’s functional programming capabilities.
2. Improved JIT Performance (Under Discussion)
Our JIT benchmarks revealed that PHP 8.5’s JIT compiler provides zero benefit—and sometimes a penalty—in I/O-bound workloads. The PHP core team is aware of this limitation and has proposed several improvements for PHP 8.6:
- Smarter profiling: The JIT will be more selective about which code paths to compile, reducing the overhead we observed in I/O-heavy scenarios.
- Reduced memory footprint: The JIT buffer will be managed more efficiently, potentially reducing the 128MB recommended allocation.
- Better warm-up performance: Cached JIT profiles will survive OPcache resets, meaning less recompilation after server restarts.
3. Array/Object Performance Optimizations (Merged)
Several merged pull requests target the performance of common array and object operations:
- Faster
array_merge(): Up to 15% faster for large arrays, based on internal benchmarks. - Optimized
json_encode(): The JSON encoder has been refactored to reduce memory allocations, improving speed by 5-10%. - Improved property access: Object property reads have been micro-optimized, benefiting ORM-heavy applications like Laravel.
4. Deprecations and Breaking Changes
As with every major PHP release, some older features are being deprecated:
mysql_*functions will now raise E_DEPRECATED notices (they were already removed but some polyfills exist).- The
${var}string interpolation syntax will be fully removed in favor of{$var}.
Expected Performance: PHP 8.6 vs 8.5
Based on the merged optimizations and the pattern established by our PHP 8.3 vs 8.4 vs 8.5 comparison, we can make reasonable performance projections:
| Workload | PHP 8.5 RPS | PHP 8.6 Projected RPS | Expected Change |
|---|---|---|---|
| Light I/O (SELECT 1) | 3430.0 | ~3500-3600 | +2-5% |
| CPU-intensive (array operations) | Baseline | ~+10-15% | Array optimizations |
| JIT I/O-heavy workloads | -2.4% penalty | ~0% (neutral) | Reduced overhead |
| json_encode() heavy | Baseline | ~+5-10% | Refactored encoder |
Important: These are projections based on merged patches, not final benchmarks. PHPBenchLab will publish official PHP 8.6 benchmarks when the first Release Candidate arrives.
Should You Plan to Upgrade to PHP 8.6?
Based on what we know today, here is our early guidance:
- If you are on PHP 8.4 or earlier: Upgrade to PHP 8.5 now. Don’t wait for 8.6. The 8.5 upgrade already delivers 8.5-14.4% improvements.
- If you are on PHP 8.5: Wait for PHP 8.6 RC1 before making a decision. The performance improvements appear incremental (2-5%), not revolutionary.
- If you use heavy array/json operations: PHP 8.6 will be especially beneficial. Plan your upgrade for early 2027.
- If you use JIT: PHP 8.6’s reduced JIT overhead could finally make JIT viable for mixed workloads.
What PHPBenchLab Will Cover When 8.6 Ships
When PHP 8.6 reaches Release Candidate status, we will run our complete benchmark suite:
- PHP 8.6 vs 8.5 vs 8.4 full performance comparison
- JIT improvements under I/O latency
- Array and JSON optimization impact on real-world applications
- Partial function application performance impact
Stay tuned. The best PHP benchmarks are yet to come.
Note on Data: This article contains no original benchmarks. All performance expectations are based on merged RFCs, accepted patches, and the established performance improvement trends observed in our previous PHP version comparisons. A full benchmark of PHP 8.6 will be published when the first Release Candidate is available.