PHP 8.2 Released with Major Updates

The PHP development team has announced the immediate availability of PHP 8.2.0 of the popular general-purpose scripting language.

According to the website, PHP 8.2 is a major update of the PHP language, offering many new features, including read-only classes, new standalone types, performance improvements, and more.

According to the documentation, “as of PHP 8.2.0, a class can be marked with the readonly modifier. Marking a class as readonly will add the readonly modifier to every declared property, and prevent the creation of dynamic properties. Moreover, it is impossible to add support for them by using the AllowDynamicProperties attribute. Attempting to do so will trigger a compile-time error.”

Ready to find a job? Check out the latest job listings at Open Source JobHub.

FOSSlife Newsetter

Comments