Get the latest tech news
PHP 8.4
PHP 8.4 is a major update of the PHP language. It contains many new features, such as property hooks, asymmetric visibility, an updated DOM API, performance improvements, bug fixes, and general cleanup.
Furthermore, they allow reliable pre- or post-processing of values, without needing to check whether a matching getter or setter exists in the class. class PhpVersion{ public private(set) string $version = '8.4';increment(): void{ [$major, $minor] = explode('. Class constants from extensions date, intl, pdo, reflection, spl, sqlite, xmlreader are typed now.
Or read this on Hacker News