xref: /php-uv/examples/async.php (revision 532ad873)
1<?php
2$loop = uv_default_loop();
3$async = uv_async_init($loop, function($async) {
4    var_dump(1);
5    uv_close($async);
6});
7
8uv_async_send($async);
9
10uv_run();
11