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

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 7 different diffs reported by users for this test.

Count Diff
44 (88%)
002+ string(15) "[0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0]"
002- bool(false)
1 (2%)
002+ string(14) "[0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0]"
002- bool(false)
1 (2%)
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+ Warning: stream_socket_server(): unable to connect to unix:///home/jenkins/workspace/PHP-7.1/distribution/debian9/platform/64bit/role/build/php-7.1.7/ext/standard/tests/streams/bug74556.sock (Unknown error) in %s/bug74556.php on line 4
004+
005+ Notice: stream_socket_client(): socket path exceeded the maximum allowed length of 108 bytes and was truncated in %s/bug74556.php on line 5
006+
007+ Warning: stream_socket_client(): unable to connect to unix:///home/jenkins/workspace/PHP-7.1/distribution/debian9/platform/64bit/role/build/php-7.1.7/ext/standard/tests/streams/bug74556.sock (Connection refused) in %s/bug74556.php on line 5
008+
009+ Warning: stream_socket_get_name() expects parameter 1 to be resource, boolean given in %s/bug74556.php on line 8
010+
011+ Warning: stream_socket_get_name() expects parameter 1 to be resource, boolean given in %s/bug74556.php on line 9
001- bool(false)
013+ bool(false)
1 (2%)
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+ Warning: stream_socket_server(): unable to connect to unix:///home/jenkins/workspace/PHP-7.1/distribution/debian8/platform/64bit/role/build/php-7.1.7/ext/standard/tests/streams/bug74556.sock (Unknown error) in %s/bug74556.php on line 4
004+
005+ Notice: stream_socket_client(): socket path exceeded the maximum allowed length of 108 bytes and was truncated in %s/bug74556.php on line 5
006+
007+ Warning: stream_socket_client(): unable to connect to unix:///home/jenkins/workspace/PHP-7.1/distribution/debian8/platform/64bit/role/build/php-7.1.7/ext/standard/tests/streams/bug74556.sock (Connection refused) in %s/bug74556.php on line 5
008+
009+ Warning: stream_socket_get_name() expects parameter 1 to be resource, boolean given in %s/bug74556.php on line 8
010+
011+ Warning: stream_socket_get_name() expects parameter 1 to be resource, boolean given in %s/bug74556.php on line 9
001- bool(false)
013+ bool(false)
1 (2%)
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+ Warning: stream_socket_server(): unable to connect to unix:///home/jenkins/workspace/PHP-7.1/distribution/debian7/platform/64bit/role/build/php-7.1.7/ext/standard/tests/streams/bug74556.sock (Unknown error) in %s/bug74556.php on line 4
004+
005+ Notice: stream_socket_client(): socket path exceeded the maximum allowed length of 108 bytes and was truncated in %s/bug74556.php on line 5
006+
007+ Warning: stream_socket_client(): unable to connect to unix:///home/jenkins/workspace/PHP-7.1/distribution/debian7/platform/64bit/role/build/php-7.1.7/ext/standard/tests/streams/bug74556.sock (Connection refused) in %s/bug74556.php on line 5
008+
009+ Warning: stream_socket_get_name() expects parameter 1 to be resource, boolean given in %s/bug74556.php on line 8
010+
011+ Warning: stream_socket_get_name() expects parameter 1 to be resource, boolean given in %s/bug74556.php on line 9
001- bool(false)
013+ bool(false)
1 (2%)
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
1 (2%)