Home
last modified time | relevance | path

Searched refs:dir_name (Results 1 – 25 of 27) sorted by relevance

12

/PHP-7.2/ext/standard/tests/file/
H A Dglob_variation2.phpt12 $dir_name = 'glob_test';
15 mkdir("$file_path/$dir_name");
18 $fp = fopen("$file_path/$dir_name/file.text", "w");
23 chdir("$file_path/$dir_name");
25 var_dump( glob("../$dir_name/*"));
28 var_dump( glob("$dir_name/*"));
29 var_dump( glob("$dir_name"));
H A Dtempnam_variation5-win32.phpt21 $dir_name = $file_path."/tempnam_variation6";
22 mkdir($dir_name);
23 $h = fopen($dir_name."/tempnam_variation6.tmp", "w");
27 $created_file = tempnam("$dir_name", "tempnam_variation6.tmp");
40 unlink($dir_name."/tempnam_variation6.tmp");
41 rmdir($dir_name);
H A Dtempnam_variation5.phpt19 $dir_name = $file_path."/tempnam_variation5";
20 mkdir($dir_name);
21 $h = fopen($dir_name."/tempnam_variation5.tmp", "w");
25 $created_file = tempnam("$dir_name", "tempnam_variation5.tmp");
38 unlink($dir_name."/tempnam_variation5.tmp");
39 rmdir($dir_name);
H A Dis_dir_basic.phpt17 $dir_name = $file_path."/is_dir_basic";
18 mkdir($dir_name);
19 var_dump( is_dir($dir_name) );
30 $dir_name = $file_path."/is_dir_basic";
31 rmdir($dir_name);
H A Dfileowner_basic.phpt26 $dir_name = $file_path."/fileowner_basic";
27 mkdir($dir_name);
28 var_dump( fileowner($dir_name) );
36 $dir_name = $file_path."/fileowner_basic";
38 rmdir($dir_name);
H A Dlstat_stat_variation5.phpt28 $dir_name = "$file_path/lstat_stat_variation5";
29 @rmdir($dir_name); //ensure that dir doesn't exists
30 mkdir($dir_name); // temp dir
34 $old_stat = stat($dir_name);
38 var_dump( touch($dir_name) );
39 $new_stat = stat($dir_name);
H A Dis_file_variation4.phpt15 $dir_name = $file_path."/is_file_variation4";
16 mkdir($dir_name);
17 $file_handle = fopen($dir_name."/is_file_variation4.tmp", "w");
51 $dir_name = $file_path."/is_file_variation4";
52 unlink($dir_name."/is_file_variation4.tmp");
53 rmdir($dir_name);
H A Dfilegroup_basic.phpt33 $dir_name = $file_path."/filegroup_basic";
34 mkdir($dir_name);
35 var_dump( filegroup($dir_name) );
49 $dir_name = $file_path."/filegroup_basic";
51 rmdir($dir_name);
H A Dfilegroup_variation3.phpt16 $dir_name = $file_path."/filegroup_variation3";
17 mkdir($dir_name);
18 $file_handle = fopen($dir_name."/filegroup_variation3.tmp", "w");
52 $dir_name = $file_path."/filegroup_variation3";
53 unlink($dir_name."/filegroup_variation3.tmp");
54 rmdir($dir_name);
H A Dfileinode_variation3.phpt17 $dir_name = $file_path."/fileinode_variation3";
18 mkdir($dir_name);
19 $file_handle = fopen($dir_name."/fileinode_variation3.tmp", "w");
53 $dir_name = $file_path."/fileinode_variation3";
54 unlink($dir_name."/fileinode_variation3.tmp");
55 rmdir($dir_name);
H A Dfileperms_variation3.phpt16 $dir_name = $file_path."/fileperms_variation3";
17 mkdir($dir_name);
18 $file_handle = fopen($dir_name."/fileperms_variation3.tmp", "w");
52 $dir_name = $file_path."/fileperms_variation3";
53 unlink($dir_name."/fileperms_variation3.tmp");
54 rmdir($dir_name);
H A Drename_variation9.phpt15 $dir_name = "$file_path/rename_variation_dir9";
18 mkdir($dir_name);
20 var_dump( rename($dir_name, $new_dir_name, $context) );
21 var_dump( file_exists($dir_name) ); // expecting flase
H A Dfileowner_variation3.phpt17 $dir_name = $file_path."/fileowner_variation3";
18 mkdir($dir_name);
19 $file_handle = fopen($dir_name."/fileowner_variation3.tmp", "w");
53 $dir_name = $file_path."/fileowner_variation3";
54 unlink($dir_name."/fileowner_variation3.tmp");
55 rmdir($dir_name);
H A Dis_dir_error.phpt13 $dir_name = dirname(__FILE__)."/is_dir_error";
14 mkdir($dir_name);
15 var_dump( is_dir($dir_name, "is_dir_error1") ); // args > expected no.of args
H A Dis_dir_variation4.phpt15 $dir_name = "/is_dir_variation4";
16 mkdir($file_path.$dir_name);
50 $dir_name = $file_path."/is_dir_variation4";
51 rmdir($dir_name);
H A Dis_dir_variation1.phpt31 $dir_name = $file_path."/is_dir_variation1";
32 rmdir($dir_name."/is_dir_variation1_sub");
33 rmdir($dir_name);
H A Drename_variation8-win32.phpt27 $dir_name = $file_path."/rename_basic_dir";
28 mkdir($dir_name);
30 var_dump( rename($dir_name, $new_dir_name) );
32 var_dump( file_exists($dir_name) ); // expecting false
H A Drename_variation8.phpt27 $dir_name = $file_path."/rename_basic_dir";
28 mkdir($dir_name);
30 var_dump( rename($dir_name, $new_dir_name) );
32 var_dump( file_exists($dir_name) ); // expecting false
H A Dtempnam_variation8-win32.phpt19 $dir_name = dirname(__FILE__)."\\tempnam_variation2";
20 mkdir($dir_name);
21 $dir_path = $dir_name."/tempnam_variation2_sub";
85 rmdir($dir_name);
H A D006_variation2.phpt38 $dir_name = dirname(__FILE__)."/006_variation2";
39 mkdir($dir_name);
76 var_dump( chmod($dir_name, $permission) );
77 printf("%o", fileperms($dir_name) );
H A Dtempnam_variation2-win32.phpt17 $dir_name = dirname(__FILE__)."/tempnam_variation2";
18 mkdir($dir_name);
19 $dir_path = $dir_name."/tempnam_variation2_sub";
86 rmdir($dir_name);
H A Dtempnam_variation2.phpt17 $dir_name = dirname(__FILE__)."/tempnam_variation2";
18 mkdir($dir_name);
19 $dir_path = $dir_name."/tempnam_variation2_sub";
86 rmdir($dir_name);
H A Dlstat_stat_variation18.phpt39 $dir_name = new names("$file_path/lstat_stat_variation18");
50 var_dump( stat($dir_name->var_name) );
H A Dtempnam_variation4-0.phpt31 $dir_name = $file_path."/tempnam_variation4";
34 mkdir($dir_name);
37 chmod($dir_name, $mode);
38 $file_name = tempnam($dir_name, $prefix);
41 if (dirname($file_name) != $dir_name) {
56 rmdir($dir_name);
/PHP-7.2/ext/gettext/
H A Dgettext.c250 char *retval, dir_name[MAXPATHLEN]; in PHP_NAMED_FUNCTION() local
264 if (!VCWD_REALPATH(dir, dir_name)) { in PHP_NAMED_FUNCTION()
267 } else if (!VCWD_GETCWD(dir_name, MAXPATHLEN)) { in PHP_NAMED_FUNCTION()
271 retval = bindtextdomain(domain, dir_name); in PHP_NAMED_FUNCTION()

Completed in 46 milliseconds

12