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