PHP 8.4: maturity continuesWith the release of PHP 8.4, the language continues the transformation it began back with PHP 7. This version brings features that move PHP closer to modern languages while preserving its trademark simplicity.Property HooksThe most eagerly awaited feature lets you define getters and setters directly within the property declaration. No more verbose getX() and setX() methods: the code is cleaner and more expressive.Asymmetric VisibilityIt is now possible to set a different visibility for reading and writing a property. For example, a property that is public for reading but private for writing — a very common pattern that is finally supported natively.Typing improvementsCovariant and contravariant return types have been extended. Typed constants in interfaces enable stricter contracts. The new “never bottom” type improves static analysis.Impact for developersThe major frameworks (Laravel, Symfony) already make use of these new features. Migrating from PHP 8.3 is made easier by automated compatibility tools.Source: Nikita Popov, PHP Core contributor, php.net release notes and PHP Foundation Blog, January 2026