1--TEST--
2Bug #80067 (Omitting the port in bindto setting errors)
3--SKIPIF--
4<?php
5if (getenv("SKIP_ONLINE_TESTS")) die('skip online test');
6if (!in_array('https', stream_get_wrappers())) die('skip: https wrapper is required');
7?>
8--FILE--
9<?php
10$context = stream_context_create([
11    'socket' => ['bindto' => '0'],
12    'ssl' => ['verify_peer' => false]
13]);
14var_dump(file_get_contents('https://httpbin.org/get', false, $context) !== false);
15?>
16--EXPECT--
17bool(true)
18