PHP 8.2 has been released on December 8, 2022. We'll go through most important features, performance improvements, changes and deprecations one by one.
Read only properties were introduced in PHP 8.1. Now, PHP 8.2 is adding support to declare the entire class as read only.
If you declare a class as read only, all its properties will automatically inherit the read only feature. Thus, declaring a class read only is the same as declaring every class property as read only.