mirror of
https://github.com/php/php-src.git
synced 2026-03-31 12:42:29 +02:00
`curl_version()`[1] (of ext/curl) makes `curl_version_info()`[2] (of libcurl) available to PHP userland. The latter requires to pass an `age` argument which usually is `CURLVERSION_NOW`, so that the information returned by the runtime matches the declarations used during compile time. For C programs it is simply necessary to pass this information, and in rare occasions it might make sense to pass something else than `CURLVERSION_NOW`. curl.h notes: | The 'CURLVERSION_NOW' is the symbolic name meant to be used by | basically all programs ever that want to get version information. For the PHP binding, using a newer `age` than available at compile time will neither provide the PHP program more information, nor would using an older `age` have tangible benefits. We therefore deprecate the useless `$version` parameter, and if it is passed nonetheless, we use `CURLVERSION_NOW` instead of the supplied value, and raise a warning. [1] <https://www.php.net/manual/en/function.curl-version.php> [2] <https://curl.haxx.se/libcurl/c/curl_version_info.html>
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
PHP NEWS
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
?? ??? ????, PHP 8.0.0alpha1
|
|
|
|
- Core:
|
|
. Removed the pdo_odbc.db2_instance_name php.ini directive. (Kalle)
|
|
. Fixed bug #77619 (Wrong reflection on MultipleIterator::__construct).
|
|
(Fabien Villepinte)
|
|
|
|
- GD:
|
|
. Removed deprecated image2wbmp(). (cmb)
|
|
. Removed deprecated png2wbmp() and jpeg2wbmp(). (cmb)
|
|
|
|
- Intl:
|
|
. Removed deprecated INTL_IDNA_VARIANT_2003. (cmb)
|
|
|
|
- JIT:
|
|
. Fixed bug #77857 (Wrong result if executed with JIT). (Laruence)
|
|
|
|
- LDAP:
|
|
. Removed deprecated ldap_sort. (mcmic)
|
|
|
|
- PDO:
|
|
. Fixed bug #77849 (Disable cloning of PDO handle/connection objects).
|
|
(camporter)
|
|
|
|
- phpdbg:
|
|
. Fixed bug #76596 (phpdbg support for display_errors=stderr). (kabel)
|
|
. Fixed bug #76801 (too many open files). (alekitto)
|
|
. Fixed bug #77800 (phpdbg segfaults on listing some conditional breakpoints).
|
|
(krakjoe)
|
|
. Fixed bug #77805 (phpdbg build fails when readline is shared). (krakjoe)
|
|
|
|
- sodium:
|
|
. Fixed bug #77646 (sign_detached() strings not terminated). (Frank)
|
|
|
|
- XML:
|
|
. Fixed bug #76874 (xml_parser_free() should never leak memory). (Nikita
|
|
|
|
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|