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