E.g. Notice: stream_socket_server(): socket path exceeded the maximum allowed length of 108 bytes and was truncated in /builddir/build/BUILD/php-src-
32d7fa6f74b56fed8124d4dea0f98f0f9964a64e/ext/standard/tests/streams/bug74556.php on line 4
--FILE--
<?php
-$sock = __DIR__ . '/bug74556.sock';
+$sock = tempnam(sys_get_temp_dir(), 'bug74556') . '.sock';
$s = stream_socket_server("unix://$sock");
$c = stream_socket_client("unix://$sock");
stream_socket_get_name($s, true),
stream_socket_get_name($c, false)
);
---CLEAN--
-<?php
-unlink(__DIR__ . '/bug74556.sock');
+unlink($sock);
--EXPECT--
bool(false)
bool(false)