mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
9 lines
164 B
PHP
9 lines
164 B
PHP
<?php
|
|
|
|
$fsevent = uv_fs_event_init(uv_default_loop(), "/tmp/", function($rsc, $name, $event, $status) {
|
|
var_dump($name, $event);
|
|
print PHP_EOL;
|
|
}, 0);
|
|
|
|
uv_run();
|