mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
11 lines
160 B
PHP
11 lines
160 B
PHP
<?php
|
|
$loop = uv_default_loop();
|
|
$async = uv_async_init($loop, function($async) {
|
|
var_dump(1);
|
|
uv_close($async);
|
|
});
|
|
|
|
uv_async_send($async);
|
|
|
|
uv_run();
|