Lines Matching refs:dir
2 RecursiveDirectoryIterator with dir path long or of edge case length
16 $dir = dirname(__FILE__);
17 while ($need_len - strlen($dir) > 32) {
18 $dir .= DIRECTORY_SEPARATOR . str_repeat("a", 32);
20 $dir .= DIRECTORY_SEPARATOR . str_repeat("a", $need_len - strlen($dir));
21 mkdir($dir, 0700, true);
23 $fl = $dir . DIRECTORY_SEPARATOR . "hello.txt";
27 $start = substr($dir, 0, strpos($dir, DIRECTORY_SEPARATOR, strlen(dirname(__FILE__))+1));
55 rmdir($dir);
56 $dir = dirname($dir);
57 } while (dirname(__FILE__) != $dir);*/