--TEST-- Check for fs poll --FILE-- 3) { uv_fs_poll_stop($rsc); uv_unref($rsc); } $i++; }, FIXTURE_PATH, 1); $timer = uv_timer_init(); uv_timer_start($timer, 100, 100, function($timer) use (&$i){ $fp = fopen(FIXTURE_PATH, "w+"); fwrite($fp,"hoge"); fclose($fp); if ($i > 3) { uv_timer_stop($timer); uv_unref($timer); } }); uv_run(); --EXPECT-- OKOKOKOKOK