/hphp/test/slow/general_functions/mkdir-recursive-file-exists.php
PHP | 11 lines | 9 code | 2 blank | 0 comment | 0 complexity | 3e7a58e88bf4a959851d74c022540ee6 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?hh
- <<__EntryPoint>>
- function main_mkdir_recursive_file_exists() {
- $dirName = "mkdirRecursiveFileExists";
- @unlink($dirName);
- fopen($dirName, "w");
- var_dump(@mkdir($dirName, 777, true));
- unlink($dirName);
- }