File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 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
459459 . ReflectionType::isBuiltin() method has been moved to ReflectionNamedType.
460460 ReflectionUnionType does not have it.
461461
462- - Socket :
462+ - Sockets :
463463 . The deprecated AI_IDN_ALLOW_UNASSIGNED and AI_IDN_USE_STD3_ASCII_RULES
464464 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.
465472
466473- SPL:
467474 . SplFileObject::fgetss() has been removed.
You can’t perform that action at this time.
0 commit comments