PageRenderTime 35ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/hphp/test/zend/bad/ext/standard/tests/file/mkdir-005.php

http://github.com/facebook/hiphop-php
PHP | 9 lines | 7 code | 2 blank | 0 comment | 0 complexity | 898ce80f06014a44f6f660dad5271067 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. <?php
  2. chdir("/");
  3. var_dump(mkdir("./testdir/subdir", 0777, true));
  4. var_dump(rmdir("./testdir/subdir"));
  5. var_dump(rmdir("./testdir"));
  6. echo "Done\n";
  7. ?>