xref: /php-uv/tests/100-uv_async.phpt (revision 4332fe7a)
1--TEST--
2Check for uv_async
3--FILE--
4<?php
5$loop = uv_default_loop();
6$async = uv_async_init($loop, function($async) {
7    echo "Hello";
8    uv_close($async);
9});
10
11uv_async_send($async);
12
13uv_run();
14?>
15--EXPECT--
16Hello
17