File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -459,9 +459,16 @@ PHP 8.0 UPGRADE NOTES
459
459
. ReflectionType::isBuiltin() method has been moved to ReflectionNamedType.
460
460
ReflectionUnionType does not have it.
461
461
462
- - Socket :
462
+ - Sockets :
463
463
. The deprecated AI_IDN_ALLOW_UNASSIGNED and AI_IDN_USE_STD3_ASCII_RULES
464
464
flags for socket_addrinfo_lookup() have been removed.
465
+ . socket_create(), socket_create_listen(), socket_accept(),
466
+ socket_import_stream(), socket_addrinfo_connect(), socket_addrinfo_bind(),
467
+ and socket_wsaprotocol_info_import() will now return a Socket object rather
468
+ than a resource. Return value checks using is_resource() should be replaced
469
+ with checks for `false`.
470
+ . socket_addrinfo_lookup() will now return an array of AddressInfo objects
471
+ rather than resources.
465
472
466
473
- SPL:
467
474
. SplFileObject::fgetss() has been removed.
You can’t perform that action at this time.
0 commit comments