PHP 8.1.0 Released!

2021-11-25
releases

The PHP development team announces the immediate availability of PHP 8.1.0. This release marks the latest minor release of the PHP language.PHP 8.1 comes with numerous improvements and new features such as:EnumerationsReadonly propertiesFibersPure Intersection Typesnever return typeFirst-class Callable Syntax"final" modifier for class constantsNew fsync and fdatasync functionsNew array_is_list functionExplicit Octal numeral notationAnd much much more...Take a look at the PHP 8.1 Announcement Addendum for more information.For source downloads of PHP 8.1.0 please visit our downloads page, Windows source and binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog. The migration guide is available in the PHP Manual. Please consult it for the detailed list of new features and backward incompatible changes.Many thanks to all the contributors and supporters!