mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
19 lines
411 B
PHP
19 lines
411 B
PHP
--TEST--
|
|
Check for fs event
|
|
--FILE--
|
|
<?php
|
|
define("DIRECTORY_PATH", dirname(__FILE__) . "/fixtures/example_directory");
|
|
/*
|
|
$ev = uv_fs_event_init(uv_default_loop(),dirname(DIRECTORY_PATH), function($rsc, $name, $event, $stat) {
|
|
echo "finished" . PHP_EOL;
|
|
uv_close($rsc);
|
|
},0);
|
|
|
|
uv_fs_mkdir(uv_default_loop(), DIRECTORY_PATH, 0755, function($result){
|
|
@rmdir(DIRECTORY_PATH);
|
|
});
|
|
|
|
uv_run();
|
|
*/
|
|
--EXPECT--
|