|
@@ -28,7 +28,7 @@ discard block |
|
|
block discarded – undo |
|
28
|
28
|
if (0 === $pid) { |
|
29
|
29
|
\fclose($pair[0]); |
|
30
|
30
|
|
|
31
|
|
- \fwrite($pair[1], $this->single(Input::fromSafeData($request)) . "\n"); |
|
|
31
|
+ \fwrite($pair[1], $this->single(Input::fromSafeData($request))."\n"); |
|
32
|
32
|
|
|
33
|
33
|
\fclose($pair[1]); |
|
34
|
34
|
|
|
@@ -40,7 +40,7 @@ discard block |
|
|
block discarded – undo |
|
40
|
40
|
$children[$pid] = $pair[0]; |
|
41
|
41
|
} |
|
42
|
42
|
|
|
43
|
|
- while(-1 !== $pid = \pcntl_wait($status)) { |
|
|
43
|
+ while (-1 !== $pid = \pcntl_wait($status)) { |
|
44
|
44
|
$socket = $children[$pid]; |
|
45
|
45
|
|
|
46
|
46
|
if ('' !== $response = \trim(\fgets($socket))) { |
Please login to merge, or discard this patch.