<?php sys_get_temp_dir(): string
<?php private function getRandomSocketUri() { return "unix://" . sys_get_temp_dir() . DIRECTORY_SEPARATOR . uniqid(rand(), true) . '.sock'; } }
<?php } $path = sys_get_temp_dir() . '/test' . uniqid() . '.sock'; $server = stream_socket_server('unix://' . $path, $errno, $errstr);
<?php private function getRandomSocketUri() { return "unix://" . sys_get_temp_dir() . DIRECTORY_SEPARATOR . uniqid(rand(), true) . '.sock'; } private function tick()