Home DEVELOPER PHP 8.4: First release candidate provides insight into final version

PHP 8.4: First release candidate provides insight into final version

0


The first release candidate for the upcoming version 8.4 is available for the PHP programming language. It provides insight into the upcoming new functionality and serves as a test version ahead of the final release scheduled for November 21st.

Advertisement


Innovations include, among other things, customization and a new curl option in the BCMath extension. CURLOPT_DEBUGFUNCTIONSeveral improvements to DOM, MBString and Opcache, as well as additional methods in the Reflection API. The purpose of the update is to increase the performance and stability of the programming language.

PHP 8.4 is scheduled to be released on November 21, 2024.

(Picture: wiki php,

In the area of ​​BCMath (Binary Calculator Mathematics) – a PHP extension that provides functions for accurate calculations of large numbers and decimal numbers – the development team has made performance optimizations for the functions bcpow() And added a check for scale overflow. with new functions bcdivmod The quotient and remainder of a division can be calculated at the same time. The development team also addressed an issue that apparently prevented objects from being converted to strings during operator calculations.

PHP 8.4 integrates RC 1 option CURLOPT_DEBUGFUNCTION For curl extensions, which provide advanced debugging capabilities. In the field of debugging, the upcoming version eliminates the error in the interaction with the debugging tool GDB, which… TypeError-Caused by exception.

Made several improvements to DOM extensions. The developers behind the programming language have made sure that it is serialized xmlns="" Now apparently being treated properly. Apart from this there is also a claim defect in them ext/dom/element.c And fixed the issue with resetting DOM properties.

According to the release notes, there was a bug in the MBString extension mb_detect_encoding()Which contained invalid encoding “UTF8”. The update updates the Unicode data tables to Unicode 16, providing better support for the new characters.

Opcache is receiving important updates, including fixing segmentation faults and introducing features opcache_jit_blacklist()Which excludes some functionality from just-in-time (JIT) compilation. In the PHPDBG extension, the development team fixed an assertion bug and fixed use-after-free issues in the PCRE (Perl Compatible Regular Expression) library. UAF problems are a type of security vulnerability that can arise in software when a program continues to access a memory area even after it is freed.

In addition to the mentioned innovations, the release includes further optimizations in the PDO_pgSQL extension, additional methods in the Reflection API, error fixes in SimpleXML and SOAP, as well as modifications in the areas of SPL, Streams, TSRM, and Windows support.
More information about the first release candidate for PHP 8.4 Can be found in the release notes on GitHub,


(MDO)

iX Workshop: Programming More Productively with Github Copilot and ChatGPT

NO COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Exit mobile version