Test: /ext/standard/tests/streams/bug76136.phpt - Version 7.3.0RC2        

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
1 (100%)
001+ Warning: stream_socket_server(): unable to connect to tcp://[::1]:1337/ (Address already in use) in %s/bug76136.php on line 2
002+
001- [::1]:1337
002- 127.0.0.1:1337
003+ Warning: stream_socket_get_name() expects parameter 1 to be resource, bool given in %s/bug76136.php on line 3
004+
005+
006+ Warning: stream_socket_server(): unable to connect to tcp://127.0.0.1:1337/ (Address already in use) in %s/bug76136.php on line 4
007+
008+ Warning: stream_socket_get_name() expects parameter 1 to be resource, bool given in %s/bug76136.php on line 5