Software 43918 Published by

Daniel Scherzer has announced the release of the third alpha version of PHP 8.5.0 for testing purposes. The modifications encompass the incorporation of clone-with support into the clone() function, rectification of non-userland stream notifiers, and the introduction of the PHP_BUILD_PROVIDER constant. The updates also encompass the inclusion of support for CURLINFO_CONN_ID, CURLINFO_QUEUE_TIME_T, and CURLOPT_SSL_SIGNATURE_ALGORITHMS. The limit for the FPM access log can now be configured through log_limit. The OPcache is now mandatory, and the OpenSSL functions have received updates. The standard features encompass HEIF/HEIC support for getimagesize, SVG support for getimagesize() and related functions, an optimized PHP html_entity_decode function, and minor enhancements to array_chunk().



php-8.5.0alpha3

- Core:
. Add clone-with support to the clone() function. (timwolla, edorian)
. Fix support for non-userland stream notifiers. (timwolla)
. Added PHP_BUILD_PROVIDER constant. (timwolla)

- Curl:
. Add support for CURLINFO_CONN_ID in curl_getinfo() (thecaliskan)
. Add support for CURLINFO_QUEUE_TIME_T in curl_getinfo() (thecaliskan)
. Add support for CURLOPT_SSL_SIGNATURE_ALGORITHMS. (Ayesh Karunaratne)

- FPM:
. Make FPM access log limit configurable using log_limit. (Jakub Zelenka)

- GD:
. Fix incorrect comparison with result of php_stream_can_cast(). (Girgias)

- Intl:
. Fix return value on failure for resourcebundle count handler. (Girgias)

- OPcache:
. Disallow changing opcache.memory_consumption when SHM is already set up.
(timwolla)
. Fixed bug GH-15074 (Compiling opcache statically into ZTS PHP fails).
(Arnaud)
. Make OPcache non-optional (Arnaud, timwolla)
. Fixed bug GH-17422 (OPcache bypasses the user-defined error handler for
deprecations). (Arnaud, timwolla)

- OpenSSL:
. Add $digest_algo parameter to openssl_public_encrypt() and
openssl_private_decrypt() functions. (Jakub Zelenka)

- POSIX:
. posix_kill and posix_setpgid throws a ValueError on invalid process_id.
(David Carlier)
. posix_setpgid throws a ValueError on invalid process_group_id,
posix_setrlimit throws a ValueError on invalid soft_limit and hard_limit
arguments. (David Carlier)

- Reflection:
. Fixed bug GH-19187 (ReflectionNamedType::getName() prints nullable type when
retrieved from ReflectionProperty::getSettableType()). (ilutov)

- Session:
. Fixed GH-19197: build broken with ZEND_STRL usage with memcpy
when implemented as macro. (David Carlier)

- Soap:
. Fixed bug GH-19226 (Segfault when spawning new thread in soap extension).
(Florian Engelhardt)

- Sockets:
. socket_set_option for multicast context throws a ValueError
when the socket family is not of AF_INET/AF_INET6 family. (David Carlier)

- Standard:
. Add HEIF/HEIC support to getimagesize. (Benstone Zhang)
. Implement #71517 (Implement SVG support for getimagesize() and friends).
(nielsdos)
. Optimized PHP html_entity_decode function. (Artem Ukrainskiy)
. Minor optimization to array_chunk(). (nielsdos)

- URI:
. Empty host handling is fixed. (Máté Kocsis)
. Error handling of Uri\WhatWg\Url::withHost() is fixed when the input
contains a port. Now, it triggers an exception; previously, the error
was silently swallowed. (Máté Kocsis)
. Support empty URIs with Uri\Rfc3986\Uri. (timwolla)

Release php-8.5.0alpha3 · php/php-src