xref: /php-uv/examples/fsevent.php (revision 99312394)
1<?php
2
3$fsevent = uv_fs_event_init(uv_default_loop(), "/tmp/", function($rsc, $name, $event, $status) {
4	var_dump($name, $event);
5	print PHP_EOL;
6}, 0);
7
8uv_run();
9