ext-uv/tests/310-fs-scandir.phpt

14 lines
182 B
Plaintext
Raw Normal View History

--TEST--
Basic scandir functionality
--FILE--
<?php
uv_fs_scandir(uv_default_loop(), ".", function($result) {
var_dump(count($result) > 1);
});
uv_run();
?>
--EXPECT--
bool(true)