PHP 8.6 release date and support
Not released yet. Planned for November 19, 2026.
Key dates
- Planned release
- November 19, 2026
- Latest pre-release
- 8.6.0RC3, October 8, 2026
What's in PHP 8.6
All PHP 8.6 RFCs →Show all 30 accepted RFCs
- #[\Override] for class constants
- Add "clamp()" function
- Add Form Feed in Trim Functions
- Add Locale::getDisplayKeyword and Locale::getDisplayKeywordValue functions
- Add pack()/unpack() endianness modifiers for floating-point numbers
- Add pack()/unpack() support for signed integers with specific endianness
- Allow Object Property Writes on Objects Referenced by Constants
- Closure optimizations
- Debugable Enums
- Deprecate returning values from __construct() and __destruct()
- Deprecations for PHP 8.6
- Display Function Arguments in Errors
- DocComments For Function Parameters
- Duration class
- enum SortDirection
- Followup Improvements for ext/uri
- grapheme_strrev: strrev for grapheme cluster
- isReadable/Writeable Reflection methods
- Limit maximum number of filter chains
- Minimum supported versions for PHP 8.6
- New function mysqli_quote_string
- Oniguruma maintenance end and end of mbregex
- Partial Function Application, v2
- Partial Function Application: Handling of Optional Parameters
- Polling API
- Readonly Property Defaults
- Secure Session Configuration Defaults
- SNMP Improvements
- Stream Error Handling Improvements
- TLS Session Resumption Support for Streams