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(['socket' => ['bindto' => '0']]);
11var_dump(file_get_contents('https://httpbin.org/get', false, $context) !== false);
12?>
13--EXPECT--
14bool(true)
15