Software 42837 Published by

PHP 8.4.0 beta 5 has been released with a bunch of changes. It includes fixes for BCMath, core, DOM, GD, hash, OpenSSL, PDO, PDO_Firebird, Reflection, SOAP, Standard, and Streams.



php-8.4.0beta5

- BCMath:
. Fixed LONG_MAX in BCMath ext. (Saki Takamachi)
. Fixed bcdiv() div by one. (Saki Takamachi)
. [RFC] Support object types in BCMath. (Saki Takamachi)

- Core:
. Fixed bug GH-15330 (Do not scan generator frames more than once). (Arnaud)
. Fixed bug GH-15644 (Asymmetric visibility doesn't work with hooks). (ilutov)
. Implemented lazy objects RFC. (Arnaud)
. Fixed bug GH-15686 (Building shared iconv with external iconv library).
(Peter Kokot, zeriyoshi)
. Fixed missing error when adding asymmetric visibility to unilateral virtual
property. (ilutov)
. Fixed bug GH-15693 (Unnecessary include in main.c bloats binary).
(nielsdos)
. Fixed bug GH-15731 (AllowDynamicProperties validation should error on
enums). (DanielEScherzer)
. Fixed uninitialized lineno in constant AST of internal enums. (ilutov)

- Curl:
. The CURLOPT_DNS_USE_GLOBAL_CACHE option is now silently ignored. (Ayesh Karunaratne)

- DOM:
. Fixed bug GH-13988 (Storing DOMElement consume 4 times more memory in
PHP 8.1 than in PHP 8.0). (nielsdos)
. Fixed bug GH-15654 (Signed integer overflow in ext/dom/nodelist.c).
(nielsdos)

- GD:
. Added gdImageClone to bundled libgd. (David Carlier)

- Hash:
. Fixed bug GH-15742 (php_hash_sha.h incompatible with C++). (cmb)

- OpenSSL:
. Implement GH-13514 PASSWORD_ARGON2 from OpenSSL 3.2. (Remi)

- PDO:
. The internal header php_pdo_int.h is no longer installed; it is not
supposed to be used by PDO drivers. (cmb)

- PDO_Firebird:
. Fixed GH-15604 (Always make input parameters nullable). (sim1984)

- Reflection:
. Fixed bug GH-15718 (Segfault on ReflectionProperty::get{Hook,Hooks}() on
dynamic properties). (DanielEScherzer)
. Fixed bug GH-15694 (ReflectionProperty::isInitialized() is incorrect for
hooked properties). (ilutov)

- SOAP:
. Fixed bug #61525 (SOAP functions require at least one space after HTTP
header colon). (nielsdos)
. Implement request #47317 (SoapServer::__getLastResponse()). (nielsdos)

- Standard:
. Fixed bug GH-15552 (Signed integer overflow in ext/standard/scanf.c). (cmb)
. Implemented GH-15685 (improve proc_open error reporting on Windows). (cmb)

- Streams:
. Fixed bug GH-15628 (php_stream_memory_get_buffer() not zero-terminated).
(cmb)

Release php-8.4.0beta5 · php/php-src