Go Back
11/26/24
New php8.4 was released at 21 nov 2024
New php8.4 was released at 21 nov 2024 with VC17 (2022) code compiler.
Some new features in PHP 8.4:
1. Property Hooks
Property hooks allow custom logic for property access directly within the property definition.
2. Asymmetric Visibility
Asymmetric visibility lets you define different visibility for reading and writing properties.
3. Class Instantiation Without Parentheses
If a class doesn’t require constructor arguments, parentheses are now optional.
4. New Array Functions
These functions simplify common array operations.
5. New Multibyte String Functions
Work with multibyte strings more effectively.
6. Deprecated Attribute
Mark code elements as deprecated.
7. HTML5 Support with DomHTMLDocument
Enhanced HTML parsing with the new DomHTMLDocument class.
Written by:
php