1--TEST--
2Bug #12190 (Setting 0 with port 0 too)
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:0']]);
11var_dump(file_get_contents('https://httpbin.org/get', false, $context) !== false);
12?>
13--EXPECT--
14bool(true)
15