xref: /php-uv/tests/310-fs-mkdir.phpt (revision e76ac0dc)
1--TEST--
2Check for fs mkdir
3--FILE--
4<?php
5define("DIRECTORY_PATH", dirname(__FILE__) . "/fixtures/example_directory");
6@rmdir(DIRECTORY_PATH);
7uv_fs_mkdir(uv_default_loop(), DIRECTORY_PATH, 0755, function($result) {
8    var_dump($result);
9    rmdir(DIRECTORY_PATH);
10});
11
12uv_run();
13
14--EXPECTF--
15int(0)
16