PHP 8.2, the latest major PHP version, was released today!
Originally scheduled for November 24th, the released date was pushed to December 8th. PHP 8.2's release managers announced the official release of PHP 8.2.0.
Highlights of PHP 8.2 include support for readonly
classes, DNF types, true
, null
, and false
types as stand-alone types, declaring class constants in traits, a new random
extension, and more.
PHP.Watch has an entire article dedicated to highlight what's new and changed in PHP, as well as a complete list of changes with detailed examples.
With the release of PHP 8.2, PHP 8.0 (released in 2020) is now marked as "security fixes only".
PHP 8.0 branch will no longer receive bug fixes. Security vulnerabilities discovered in PHP 8.0 and later versions will be fixed until 26 Nov 2023, which is the scheduled date to mark PHP 8.0 as end-of-life.
Applications that still use PHP 8.0 are strongly advised to upgrade to PHP 8.1, or ideally to PHP 8.2.
PHP 7.4, the last version in PHP 7.x series reached its EOL on November 28. This effectively means that all PHP versions prior to PHP 8.1 no longer receive active support.
PHP 8.2 is now available to download/install in all regular sources:
ondrej/php
PPA. A detailed installation/upgrade guide is available on PHP.Watch.php82
from Remi repo.shivammathur/homebrew-php
tap.8.2*
tags.The above is the detailed content of PHP 8.2 Released. For more information, please follow other related articles on the PHP Chinese website!