PHP 8.6
Supported- Released
- Nov 19, 2026
- Latest patch
- 8.6.0 · Nov 19, 2026
- Active support until
- Dec 31, 2028
- End of life
- Dec 31, 2030
- Official release notes
- https://www.php.net/ChangeLog-8.php#8.6.0 ↗
What's new in PHP 8.6.0
This is a new major-cycle release, PHP 8.6.0, with new language features, deprecations and a large number of bug and security fixes across core and extensions. Breaking changes and deprecations come first:
- Using "let" or "is" as a class, function or constant name, and "_" as a constant name or alias, is now deprecated. Using "namespace" as a class constant name is also deprecated.
- Returning values from __construct() and __destruct() is deprecated, as is returning a statement value from a finally block and passing a third argument to define().
- Calling is_a() or is_subclass_of() with a string first argument while $allow_string is false is deprecated.
- Readonly DOM properties now use asymmetric visibility (public private(set)), so external writes raise a different error message.
New features include partial function application, the clamp() function, Time\Duration, EXIF reading for WebP images, and an error_include_args INI option.
Security fixes include several use-after-free and double-free issues (CVE-2026-129474, CVE-2026-129182, CVE-2026-129496, CVE-2026-129501) and an out-of-bounds read and write in PHP-CGI (CVE-2026-129538).
The notes are cut off partway through the FFI section, so the rest of the list is not covered here.
Based on the official release notes.
FAQ
When was PHP 8.6 released?
PHP 8.6 was released on November 19, 2026.
What is the latest PHP 8.6 release?
The latest release in the PHP 8.6 cycle is 8.6.0, released on November 19, 2026.
Is PHP 8.6 still supported?
Yes. PHP 8.6 is supported until December 31, 2030.
When does PHP 8.6 reach end of life?
PHP 8.6 reaches end of life on December 31, 2030.
Data: endoflife.date.


