1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

ext/sockets: GH-20532 socket_addrinfo_lookup() sets EAI error code on resolution failures with a new optional argument.

close GH-20534
This commit is contained in:
David Carlier
2025-11-19 21:19:33 +00:00
parent 0f4fd2d03c
commit 44d6417bd7
6 changed files with 236 additions and 5 deletions

View File

@@ -77,6 +77,11 @@ PHP 8.6 UPGRADE NOTES
- Phar:
. Phar::mungServer() now supports reference values.
- Sockets:
. socket_addrinfo_lookup() now has an additional optional argument $error
when not null, and on failure, gives the error code (one of the EAI_*
constants).
- Zip:
. ZipArchive::extractTo now raises a TypeError for the
files argument if one or more of the entries is not
@@ -112,6 +117,23 @@ PHP 8.6 UPGRADE NOTES
- Sockets:
. TCP_USER_TIMEOUT (Linux only).
. AF_UNSPEC.
. EAI_BADFLAGS.
. EAI_NONAME.
. EAI_AGAIN.
. EAI_FAIL.
. EAI_NODATA.
. EAI_FAMILY.
. EAI_SOCKTYPE.
. EAI_SERVICE.
. EAI_ADDRFAMILY.
. EAI_SYSTEM.
. EAI_OVERFLOW
. EAI_INPROGRESS.
. EAI_CANCELED.
. EAI_NOTCANCELED.
. EAI_ALLDONE.
. EAI_INTR.
. EAI_IDN_ENCODE.
========================================
11. Changes to INI File Handling