/hphp/test/slow/general_functions/mkdir-recursive.php
http://github.com/facebook/hiphop-php · PHP · 11 lines · 9 code · 2 blank · 0 comment · 0 complexity · 4cbf0c6381cba30f57df87c96ffc83be MD5 · raw file
- <?hh
- <<__EntryPoint>>
- function main_mkdir_recursive() {
- $dirName = "mkdirRecursive";
- @rmdir($dirName);
- mkdir($dirName, 777);
- var_dump(@mkdir($dirName, 777, true));
- rmdir($dirName);
- }