--TEST-- Test socket_addrinfo_bind() --EXTENSIONS-- sockets --FILE-- AF_INET, 'ai_socktype' => SOCK_DGRAM, )); var_dump(socket_addrinfo_bind($addrinfo[0])); echo "Done"; ?> --EXPECT-- object(Socket)#2 (0) { } Done