/php-src/ext/standard/tests/file/ |
H A D | glob_variation2.phpt | 8 $dir_name = 'glob_test'; 11 mkdir("$file_path/$dir_name"); 14 $fp = fopen("$file_path/$dir_name/file.text", "w"); 19 chdir("$file_path/$dir_name"); 21 var_dump( glob("../$dir_name/*")); 24 var_dump( glob("$dir_name/*")); 25 var_dump( glob("$dir_name"));
|
H A D | is_dir_basic.phpt | 12 $dir_name = $file_path."/is_dir_basic"; 13 mkdir($dir_name); 14 var_dump( is_dir($dir_name) ); 25 $dir_name = $file_path."/is_dir_basic"; 26 rmdir($dir_name);
|
H A D | tempnam_variation5-win32.phpt | 17 $dir_name = $file_path."/tempnam_variation5"; 18 mkdir($dir_name); 19 $h = fopen($dir_name."/tempnam_variation5.tmp", "w"); 23 $created_file = tempnam("$dir_name", "tempnam_variation5.tmp"); 36 unlink($dir_name."/tempnam_variation5.tmp"); 37 rmdir($dir_name);
|
H A D | tempnam_variation5.phpt | 15 $dir_name = $file_path."/tempnam_variation5"; 16 mkdir($dir_name); 17 $h = fopen($dir_name."/tempnam_variation5.tmp", "w"); 21 $created_file = tempnam("$dir_name", "tempnam_variation5.tmp"); 34 unlink($dir_name."/tempnam_variation5.tmp"); 35 rmdir($dir_name);
|
H A D | fileowner_basic.phpt | 21 $dir_name = $file_path."/fileowner_basic"; 22 mkdir($dir_name); 23 var_dump( fileowner($dir_name) ); 31 $dir_name = $file_path."/fileowner_basic"; 33 rmdir($dir_name);
|
H A D | lstat_stat_variation5.phpt | 20 $dir_name = "$file_path/lstat_stat_variation5"; 21 @rmdir($dir_name); //ensure that dir doesn't exists 22 mkdir($dir_name); // temp dir 26 $old_stat = stat($dir_name); 30 var_dump( touch($dir_name) ); 31 $new_stat = stat($dir_name);
|
H A D | is_file_variation4.phpt | 10 $dir_name = $file_path."/is_file_variation4"; 11 mkdir($dir_name); 12 $file_handle = fopen($dir_name."/is_file_variation4.tmp", "w"); 50 $dir_name = $file_path."/is_file_variation4"; 51 unlink($dir_name."/is_file_variation4.tmp"); 52 rmdir($dir_name);
|
H A D | filegroup_basic.phpt | 30 $dir_name = $file_path."/filegroup_basic"; 31 mkdir($dir_name); 32 var_dump( filegroup($dir_name) ); 46 $dir_name = $file_path."/filegroup_basic"; 48 rmdir($dir_name);
|
H A D | rename_variation9.phpt | 11 $dir_name = "$file_path/rename_variation_dir9"; 14 mkdir($dir_name); 16 var_dump( rename($dir_name, $new_dir_name, $context) ); 17 var_dump( file_exists($dir_name) ); // expecting flase
|
H A D | filegroup_variation3.phpt | 13 $dir_name = $file_path."/filegroup_variation3"; 14 mkdir($dir_name); 15 $file_handle = fopen($dir_name."/filegroup_variation3.tmp", "w"); 53 $dir_name = $file_path."/filegroup_variation3"; 54 unlink($dir_name."/filegroup_variation3.tmp"); 55 rmdir($dir_name);
|
H A D | fileinode_variation3.phpt | 12 $dir_name = $file_path."/fileinode_variation3"; 13 mkdir($dir_name); 14 $file_handle = fopen($dir_name."/fileinode_variation3.tmp", "w"); 52 $dir_name = $file_path."/fileinode_variation3"; 53 unlink($dir_name."/fileinode_variation3.tmp"); 54 rmdir($dir_name);
|
H A D | fileowner_variation3.phpt | 13 $dir_name = $file_path."/fileowner_variation3"; 14 mkdir($dir_name); 15 $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 D | fileperms_variation3.phpt | 12 $dir_name = $file_path."/fileperms_variation3"; 13 mkdir($dir_name); 14 $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 D | is_dir_variation4.phpt | 10 $dir_name = "/is_dir_variation4"; 11 mkdir($file_path.$dir_name); 49 $dir_name = $file_path."/is_dir_variation4"; 50 rmdir($dir_name);
|
H A D | is_dir_variation1.phpt | 26 $dir_name = $file_path."/is_dir_variation1"; 27 rmdir($dir_name."/is_dir_variation1_sub"); 28 rmdir($dir_name);
|
H A D | rename_variation8.phpt | 23 $dir_name = $file_path."/rename_basic_dir"; 24 mkdir($dir_name); 26 var_dump( rename($dir_name, $new_dir_name) ); 28 var_dump( file_exists($dir_name) ); // expecting false
|
H A D | rename_variation8-win32.phpt | 23 $dir_name = $file_path."/rename_basic_dir"; 24 mkdir($dir_name); 26 var_dump( rename($dir_name, $new_dir_name) ); 28 var_dump( file_exists($dir_name) ); // expecting false
|
H A D | 006_variation2.phpt | 19 $dir_name = __DIR__."/006_variation2"; 20 mkdir($dir_name); 62 var_dump( chmod($dir_name, $permission) ); 63 printf("%o", fileperms($dir_name) );
|
H A D | tempnam_variation8-win32.phpt | 15 $dir_name = __DIR__."\\tempnam_variation8"; 16 mkdir($dir_name); 17 $dir_path = $dir_name."/tempnam_variation8_sub"; 81 rmdir($dir_name);
|
H A D | tempnam_variation2-win32.phpt | 13 $dir_name = __DIR__."/tempnam_variation2"; 14 mkdir($dir_name); 15 $dir_path = $dir_name."/tempnam_variation2_sub"; 82 rmdir($dir_name);
|
H A D | tempnam_variation2.phpt | 13 $dir_name = __DIR__."/tempnam_variation2"; 14 mkdir($dir_name); 15 $dir_path = $dir_name."/tempnam_variation2_sub"; 82 rmdir($dir_name);
|
H A D | lstat_stat_variation18.phpt | 26 $dir_name = new names("$file_path/lstat_stat_variation18"); 37 var_dump( stat($dir_name->var_name) );
|
H A D | tempnam_variation4-0.phpt | 19 $dir_name = $file_path."/tempnam_variation4-0"; 22 mkdir($dir_name); 25 chmod($dir_name, $mode); 26 $file_name = tempnam($dir_name, $prefix); 29 if (dirname($file_name) != $dir_name) { 44 rmdir($dir_name);
|
H A D | tempnam_variation4-1.phpt | 19 $dir_name = $file_path."/tempnam_variation4-1"; 22 mkdir($dir_name); 25 chmod($dir_name, $mode); 26 $file_name = tempnam($dir_name, $prefix); 29 if (dirname($file_name) != $dir_name) { 44 rmdir($dir_name);
|
/php-src/ext/gettext/ |
H A D | gettext.c | 183 char *retval, dir_name[MAXPATHLEN], *btd_result; in PHP_FUNCTION() local 207 if (!VCWD_REALPATH(ZSTR_VAL(dir), dir_name)) { in PHP_FUNCTION() 210 } else if (!VCWD_GETCWD(dir_name, MAXPATHLEN)) { in PHP_FUNCTION() 214 retval = bindtextdomain(ZSTR_VAL(domain), dir_name); in PHP_FUNCTION()
|