Test: /ext/standard/tests/streams/bug76136.phpt - Version 7.2.6-dev        

Bug #76136 stream_socket_get_name should enclose IPv6 in brackets
Submitted: 2018-03-22 10:28:45 Modified:
From: kelunik Assigned:
Status: Closed Package: Streams related
PHP Version: 7.2.3 OS: Linux

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
001+ Warning: stream_socket_server(): unable to connect to tcp://[::1]:1337/ (Cannot assign requested address) in %s/bug76136.php on line 2
001- string(10) "[::1]:1337"
002+
003+ Warning: stream_socket_get_name() expects parameter 1 to be resource, boolean given in %s/bug76136.php on line 3
004+ bool(false)