Skip to content

Commit 11bed35

Browse files
committed
Use a socket on Windows
1 parent 91979c7 commit 11bed35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/basic/GHSA-9pqp-7h25-4f32.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function test($boundaryLen) {
3939
]);
4040

4141
$spec = [
42-
0 => ['pipe', 'r'],
42+
0 => [PHP_OS_FAMILY === "Windows" ? 'socket' : 'pipe', 'r'],
4343
1 => STDOUT,
4444
2 => STDOUT,
4545
];

0 commit comments

Comments
 (0)