PHP 8.5 is the active development branch for the upcoming PHP release, scheduled for 2025 November.
PHP 8.4 is a feature-rich PHP version that brings support for property hooks, asymmetric visibility support in classes, database driver-specific PDO
classes, Lazy objects, a HTML5 support in the DOM extension, along with several new features, improvements, and deprecations.
PHP 8.3 is the latest stable PHP version, bringing typed class constants, Granular DateTime
Exceptions, fallback value support for PHP INI Environment Variable syntax, and more.
PHP 8.2 is the latest PHP version which brings readonly
classes, DNF types, null
, false
, and true
types, sensitive parameter redaction support, a new random
extension, and several new features along with a few deprecations.
PHP 8.1, released in 2021, brings major new features such as Enums, Fibers, never
return type, Intersection Types, readonly
properties, and more, while ironing out some of its undesired legacy features by deprecating them.