--TEST-- Test socket_addrinfo_bind() --SKIPIF-- AF_INET, 'ai_socktype' => SOCK_DGRAM, )); var_dump(socket_addrinfo_bind($addrinfo[0])); echo "Done"; --EXPECTF-- resource(%d) of type (Socket) Done