The PHP team has announced the release of the first Release Candidate for PHP 8.4, bringing us one step closer to the general availability (GA) on November 21st! This minor release packs some exciting new features that will benefit PHP developers. Let's dive into what's in store and how you can prepare.
Array Find Methods: New array methods for searching and finding specific elements, simplifying common tasks.Property Hooks: Introducing property hooks, similar to the __get and __set magic methods, allowing for more granular control over property access.Asymmetric Property Visibility: This feature grants more flexibility in defining property visibility, allowing different access levels for subclasses and other classes.Lazy Objects: Optimize performance by delaying object instantiation until they are actually needed, leading to efficiency gains.http_get_last_response_headers() and http_clear_last_response_headers(): New functions for working with HTTP response headers, improving the handling of HTTP requests.fpow() Function: A new function based on IEEE 754 standards, providing more accurate and consistent floating-point power calculations.request_parse_body() Function: Simplifies the process of parsing multipart requests, even when received with non-POST HTTP methods.#[\Deprecated] Attribute: A new attribute that formally marks a function or class as deprecated, aiding in code modernization and maintenance.
PHP 8.4 RC1 Released: The first Release Candidate is available, allowing developers to test the new features and identify any potential issues.PHP 8.4 GA Release: Expected on November 21st. This is the official release date when PHP 8.4 becomes widely available.
UPGRADING document: This document provides a detailed list of backward-incompatible changes, new features, and everything you need to know about the transition.NEWS document: This document contains detailed notes about each release, offering in-depth insights into the changes and improvements.PHP 8.4 preparation tasks page: Provides the release timeline, important dates, and the latest updates on the development process.
0 comments:
Post a Comment