Subscribe to PHP Freaks RSS

PHP 8.1.0 Released!

syndicated from php.net on November 25, 2021

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:

Enumerations Readonly properties Fibers Pure Intersection Types never return type First-class Callable Syntax "final" modifier for class constants New fsync and fdatasync functions New array_is_list function Explicit Octal numeral notation And 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!