mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-27 04:24:45 +01:00
16 lines
296 B
PHP
16 lines
296 B
PHP
--TEST--
|
|
Check for fs rmdir
|
|
--FILE--
|
|
<?php
|
|
define("DIRECTORY_PATH", dirname(__FILE__) . "/fixtures/example_directory");
|
|
|
|
@rmdir(DIRECTORY_PATH);
|
|
mkdir(DIRECTORY_PATH, 0755);
|
|
uv_fs_rmdir(uv_default_loop(), DIRECTORY_PATH, function($result){
|
|
echo $result . PHP_EOL;
|
|
});
|
|
|
|
uv_run();
|
|
|
|
--EXPECT--
|
|
0 |