PageRenderTime 49ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/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
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
  1. <?hh
  2. <<__EntryPoint>>
  3. function main_mkdir_recursive() {
  4. $dirName = "mkdirRecursive";
  5. @rmdir($dirName);
  6. mkdir($dirName, 777);
  7. var_dump(@mkdir($dirName, 777, true));
  8. rmdir($dirName);
  9. }