1--TEST--
2Check for uv_write multiple call with different callbacks
3--FILE--
4<?php
5$loop = uv_loop_new();
6
7$handler = uv_pipe_init($loop, false);
8uv_pipe_open($handler, (int) STDOUT);
9
10uv_write($handler, 'A', function () { echo 'A'; });
11uv_write($handler, 'B', function () { echo 'B'; });
12uv_write($handler, 'C', function () { echo 'C'; });
13
14uv_run($loop);
15uv_close($handler);
16--EXPECTF--
17ABCABC