--TEST-- Bug #74764 IPv6 bindto fails with stream_socket_client() --SKIPIF-- --FILE-- array('bindto' => "[::]:0")] ); $socket = stream_socket_client('tcp://localhost:1443', $errno, $errstr, 5, STREAM_CLIENT_CONNECT, $context); $context = stream_context_create( array('socket' => array('bindto' => "0.0.0.0:0")) ); $socket = stream_socket_client('tcp://localhost:1443', $errno, $errstr, 5, STREAM_CLIENT_CONNECT, $context); ?> --EXPECTF-- Warning: stream_socket_client(): unable to connect to tcp://localhost:1443 (%s) in %s on line %d Warning: stream_socket_client(): unable to connect to tcp://localhost:1443 (%s) in %s on line %d