1--TEST--
2Test socket_addrinfo_bind()
3--EXTENSIONS--
4sockets
5--FILE--
6<?php
7$addrinfo = socket_addrinfo_lookup('127.0.0.1', 2000, array(
8    'ai_family' => AF_INET,
9    'ai_socktype' => SOCK_DGRAM,
10));
11var_dump(socket_addrinfo_bind($addrinfo[0]));
12echo "Done";
13?>
14--EXPECT--
15object(Socket)#2 (0) {
16}
17Done
18