mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
stdout ofc
This commit is contained in:
parent
cd8a528523
commit
0a48764b9f
@ -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'; });
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user