summaryrefslogtreecommitdiff
path: root/test/it_url_server.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/it_url_server.php')
-rw-r--r--test/it_url_server.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/it_url_server.php b/test/it_url_server.php
index d8049b1..b113be1 100644
--- a/test/it_url_server.php
+++ b/test/it_url_server.php
@@ -14,13 +14,15 @@ register_shutdown_function(
usleep(100000);
stream_set_blocking($pipes[2], 0);
-function server_output() {
+function server_output()
+{
$result = array();
while (($result[] = trim(fgets($GLOBALS['pipes'][2])))) {};
return array_filter($result);
}
-function handle_server($args) {
+function handle_server($args)
+{
$res = true;
foreach ((array)$args as $arg)
$res = $res && $arg;