What's so awesome in PHP 8.2?
PHP 8.2 is a minor release in the PHP 8 series and was released on 2021-12-06. Some of the notable features and improvements in PHP 8.2 include: Nullsafe operator: This operator allows you to chain method calls and access properties without having to check for null values at each step. This can make your code more concise and easier to read. Mixed type hint: The mixed type hint can be used to indicate that a function parameter or return value can be of any type. This can be useful when a function can accept a variety of different types, or when the type is not known at the time the function is written. Improved JIT (Just-In-Time) compilation: PHP 8.2 includes improvements to the JIT compilation feature introduced in PHP 8.0, which can improve the performance of certain types of code. New string functions: PHP 8.2 introduces several new functions for working with strings, including str_contains(), str_starts_with(), and str_ends_with(). Other improvements: PHP 8.2 also includes various ...