Lines Matching refs:server
13 $server = stream_socket_server('tcp://localhost:0', $errno, $errstr);
14 if (!$server) {
31 'uri' => 'http://' . stream_socket_get_name($server, false),
35 return $server;
38 /* Minimal HTTP server with predefined responses.
47 if (!is_resource($server = http_server_init($output))) {
48 return $server;
52 $files = $files($server);
57 $sock = stream_socket_accept($server);
105 if (!is_resource($server = http_server_init($output))) {
106 return $server;
109 $sock = stream_socket_accept($server);