Test: /ext/standard/tests/streams/bug74556.phpt - Version 7.0.22        

Bug #74556 stream_socket_get_name returns \0 string instead of false
Submitted: 2017-05-08 15:32:19 Modified: 2017-12-21 17:53:37
From: cpuidle Assigned: pollita
Status: Re-Opened Package: Streams related
PHP Version: 7.1.7 OS: macOS

There are 2 different diffs reported by users for this test.

Count Diff
7 (78%)
002+ string(15) "[0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0]"
002- bool(false)
2 (22%)
001+ Notice: stream_socket_server(): socket path exceeded the maximum allowed length of 108 bytes and was truncated in %s/bug74556.php on line 4
002+
003+ Notice: stream_socket_client(): socket path exceeded the maximum allowed length of 108 bytes and was truncated in %s/bug74556.php on line 5