Skip to content

Commit 96e9a61

Browse files
committed
Sockets win
1 parent cdccbe9 commit 96e9a61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/sockets/tests/socket_export_stream-4-win.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function test($stream, $sock) {
1616
if ($stream !== null) {
1717
echo "stream_set_blocking ";
1818
try {
19-
print_r(stream_set_blocking($stream, 0));
19+
print_r(stream_set_blocking($stream, false));
2020
} catch (Error $e) {
2121
echo get_class($e), ": ", $e->getMessage(), "\n";
2222
}

ext/sockets/tests/socket_import_stream-4-win.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function test($stream, $sock) {
1616
if ($stream !== null) {
1717
echo "stream_set_blocking ";
1818
try {
19-
print_r(stream_set_blocking($stream, 0));
19+
print_r(stream_set_blocking($stream, false));
2020
} catch (Error $e) {
2121
echo get_class($e), ": ", $e->getMessage(), "\n";
2222
}

0 commit comments

Comments
 (0)