mirror of
https://github.com/danog/ext-uv.git
synced 2024-12-02 09:27:58 +01:00
11 lines
171 B
PHP
11 lines
171 B
PHP
|
<?php
|
||
|
$loop = uv_default_loop();
|
||
|
$async = uv_async_init($loop, function($status){
|
||
|
var_dump(1);
|
||
|
uv_unref(uv_default_loop());
|
||
|
});
|
||
|
|
||
|
uv_async_send($async);
|
||
|
|
||
|
uv_run();
|