mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
12 lines
199 B
PHP
12 lines
199 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();
|