stdout ofc

This commit is contained in:
Andrey Kostylev 2017-02-20 23:12:06 +03:00
parent cd8a528523
commit 0a48764b9f
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ Check for uv_write multiple call with different callbacks
$loop = uv_loop_new();
$handler = uv_pipe_init($loop, false);
uv_pipe_open($handler, (int) STDIN);
uv_pipe_open($handler, (int) STDOUT);
uv_write($handler, 'A', function () { echo 'A'; });
uv_write($handler, 'B', function () { echo 'B'; });

View File

@ -9,7 +9,7 @@ class TestCase {
$loop = uv_loop_new();
$handler = uv_pipe_init($loop, false);
uv_pipe_open($handler, (int) STDIN);
uv_pipe_open($handler, (int) STDOUT);
$a = 0;