PHP 8.5.0 beta 2
- Core:
. Fixed bug GH-18850 (Repeated inclusion of file with __halt_compiler() triggers "Constant already defined" warning). (ilutov)
. Fixed bug GH-19476 (pipe operator fails to correctly handle returning by reference). (alexandre-daubois)
. The report_memleaks INI directive has been deprecated. (alexandre-daubois)
. Constant redeclaration is deprecated and this behavior will trigger an error in PHP 9. (alexandre-daubois)
. Fixed OSS-Fuzz #439125710 (Pipe cannot be used in write context). (nielsdos)
. Added support for configuring the URI parser for the FTP/FTPS as well as the SSL/TLS stream wrappers as described in https://wiki.php.net/rfc/url_parsing_api#plugability. (kocsismate)
. Fixed bug GH-19548 (Shared memory violation on property inheritance). (alexandre-daubois)
. Fixed bug GH-19544 (GC treats ZEND_WEAKREF_TAG_MAP references as WeakMap references). (Arnaud, timwolla)
. Introduced the TAILCALL VM, enabled by default when compiling with Clang>=19 on x86_64 or aarch64. (Arnaud)
. Enacted the follow-up phase of the "Path to Saner Increment/Decrement operators" RFC, meaning that incrementing non-numeric strings is now deprecated. (Girgias).
. Various closure binding issues are now deprecated. (alexandre-daubois)
. Fixed bug GH-18373 (Don't substitute self/parent with anonymous class). (ilutov)
. Prohibit pipe & arrow function combination that leads to confusing parse trees. (ilutov)
. The disable_classes INI directive has been removed. (Girgias)
. The locally predefined variable $http_response_header is deprecated. (Girgias)
- Filter:
. Added support for configuring the URI parser for FILTER_VALIDATE_URL as described in https://wiki.php.net/rfc/url_parsing_api#plugability. (kocsismate)
- ODBC:
. Remove ODBCVER and assume ODBC 3.5. (Calvin Buckley)
- Opcache:
. Fixed bug GH-19493 (JIT variable not stored before YIELD). (Arnaud)
- OpenSSL:
. Implement #81724 (openssl_cms_encrypt only allows specific ciphers). (Jakub Zelenka)
- PDO:
. Driver specific constants in the PDO class are now deprecated. (Arnaud)
- Phar:
. Fixed memory leaks when verifying OpenSSL signature. (Girgias)
- Session:
. Added support for partitioned cookies. (nielsdos)
- SOAP:
. Added support for configuring the URI parser for SoapClient::_doRequest() as described in https://wiki.php.net/rfc/url_parsing_api#plugability. (kocsismate)
- SPL:
. Deprecate ArrayObject and ArrayIterator with objects. (Girgias)
- Standard:
. Fixed bug GH-16649 (UAF during array_splice). (alexandre-daubois)
. Passing integers outside the interval [0, 255] to chr() is now deprecated. (Girgias)
. Added support for partitioned cookies. (nielsdos)
- Tokenizer:
. Fixed bug GH-19507 (Corrupted result after recursive tokenization during token_get_all()). (kubawerlos, nielsdos, Arnaud)
- URI:
. Clean up naming of internal API (header names, symbol names). (Máté Kocsis, timwolla)
Daniel Scherzer has announced the release of the second beta release of PHP 8.5.0 for testing with several bug fixes and improvements across various modules, including core, filter, ODBC, opcache, OpenSSL, PDO, Phar, session, SOAP, SPL, standard, tokenizer, and URI. The report_memleaks INI directive has been deprecated, constant redeclaration is deprecated, and the disable_classes INI directive has been removed. New features include the ability to set up the URI parser for FTP/FTPS, SSL/TLS stream wrappers, and FILTER_VALIDATE_URL, along with the new TAILCALL VM that is automatically enabled when compiling with Clang version 19 or higher on x86_ Additionally, several deprecations have been made, including prohibiting pipe & arrow function combinations, incrementing non-numeric strings, and various closure binding issues.
