mirror of
https://github.com/danog/ext-uv.git
synced 2024-12-02 17:38:26 +01:00
12 lines
197 B
PHP
12 lines
197 B
PHP
<?php
|
|
$poll = uv_fs_poll_init(uv_default_loop());
|
|
|
|
uv_fs_poll_start($poll,function($rsc,$stat,$p){
|
|
var_dump(1);
|
|
var_dump($p);
|
|
uv_fs_poll_stop($rsc);
|
|
|
|
}, "/tmp/hoge", 1);
|
|
|
|
uv_run();
|