Home
last modified time | relevance | path

Searched refs:file_path (Results 26 – 50 of 345) sorted by relevance

12345678910>>...14

/PHP-5.5/ext/standard/tests/file/
H A Dfile_get_contents_file_put_contents_basic.phpt15 $file_path = dirname(__FILE__);
16 include($file_path."/file.inc");
24 file_put_contents( $file_path.$file_name, $text_buffer );
26 var_dump( file_get_contents($file_path.$file_name) );
31 file_put_contents( $file_path.$file_name, "");
32 var_dump( file_get_contents( $file_path.$file_name ) );
38 $file_path = dirname(__FILE__);
39 unlink($file_path."/file_put_contents.tmp");
40 unlink($file_path."/file_put_contents1.tmp");
H A Dlstat_stat_variation3.phpt20 $file_path = dirname(__FILE__);
21 require "$file_path/file.inc";
24 $fp = fopen("$file_path/lstat_stat_variation3.tmp", "w"); // temp file
28 symlink("$file_path/lstat_stat_variation3.tmp", "$file_path/lstat_stat_variation_link3.tmp");
32 $old_linkname = "$file_path/lstat_stat_variation_link3.tmp";
33 $new_linkname = "$file_path/lstat_stat_variation_link3a.tmp";
52 $file_path = dirname(__FILE__);
53 unlink("$file_path/lstat_stat_variation3.tmp");
54 unlink("$file_path/lstat_stat_variation_link3a.tmp");
H A Ddisk_free_space_basic.phpt18 $file_path = dirname(__FILE__);
21 var_dump( disk_free_space($file_path) );
22 var_dump( diskfreespace($file_path) );
26 mkdir($file_path.$dir);
28 $space1 = disk_free_space($file_path.$dir);
31 $fh = fopen($file_path.$dir."/disk_free_space.tmp", "a");
37 $space2 = disk_free_space($file_path.$dir);
46 var_dump( disk_free_space(b"$file_path") );
53 $file_path = dirname(__FILE__);
54 unlink($file_path."/disk_free_space/disk_free_space.tmp");
[all …]
H A Dis_executable_variation1.phpt20 $file_path = dirname(__FILE__);
21 mkdir("$file_path/is_executable_variation1");
24 $fp = fopen("$file_path/is_executable_variation1/bar.tmp", "w");
30 "$file_path/is_executable_variation1/bar.tmp",
33 "$file_path/is_executable_variation1/bar.tmp/",
36 "$file_path/is_executable_variation1//bar.tmp",
37 "$file_path/is_executable_variation1/*.tmp",
38 "$file_path/is_executable_variation1/b*.tmp",
41 "$file_path/is_executable_variation1".chr(0)."bar.temp",
42 "$file_path".chr(0)."is_executable_variation1/bar.temp",
[all …]
H A Dreadlink_realpath_basic2.phpt19 $file_path = dirname(__FILE__);
20 mkdir("$file_path/readlink_realpath_basic2/home/test/", 0777, true);
23 $file_handle2 = fopen("$file_path/readlink_realpath_basic2/home/readlink_realpath_basic2.tmp", "w");
24 $file_handle3 = fopen("$file_path/readlink_realpath_basic2/readlink_realpath_basic2.tmp", "w");
32 "$file_path/readlink_realpath_basic2/home/readlink_realpath_basic2.tmp",
33 "$file_path/readlink_realpath_basic2/readlink_realpath_basic2.tmp",
34 "$file_path/readlink_realpath_basic2//home/test//../test/./readlink_realpath_basic2.tmp",
35 "$file_path/readlink_realpath_basic2/home//../././readlink_realpath_basic2.tmp",
38 "$file_path///readlink_realpath_basic2/home//..//././test//readlink_realpath_basic2.tmp",
39 "$file_path/readlink_realpath_basic2/home/../home/../test/../readlink_realpath_basic2.tmp",
[all …]
H A Drealpath_basic-win32.phpt18 $file_path = dirname(__FILE__);
19 mkdir("$file_path/realpath_basic/home/test/", 0777, true);
22 $file_handle2 = fopen("$file_path/realpath_basic/home/realpath_basic.tmp", "w");
23 $file_handle3 = fopen("$file_path/realpath_basic/realpath_basic.tmp", "w");
31 "$file_path/realpath_basic/home/realpath_basic.tmp",
32 "$file_path/realpath_basic/realpath_basic.tmp/",
33 "$file_path/realpath_basic//home/test//../test/./realpath_basic.tmp",
34 "$file_path/realpath_basic/home//../././realpath_basic.tmp//",
37 b"$file_path/realpath_basic/home/realpath_basic.tmp",
40 "$file_path///realpath_basic/home//..//././test//realpath_basic.tmp",
[all …]
H A Dbug69628.phpt12 $file_path = dirname(__FILE__);
15 $dirname = "$file_path/bug69628";
36 $file_path = dirname(__FILE__);
37 unlink("$file_path/bug69628/image.jPg");
38 unlink("$file_path/bug69628/image.gIf");
39 unlink("$file_path/bug69628/image.png");
40 rmdir("$file_path/bug69628/");
H A Dfile_get_contents_basic.phpt13 $file_path = dirname(__FILE__);
14 include($file_path."/file.inc");
21 create_files($file_path, 1, "text", 0755, 100, "w", "file", 1, "byte");
22 var_dump( file_get_contents($file_path."/file1.tmp") );
23 delete_files($file_path, 1);
27 create_files($file_path, 1, "empty", 0755, 100, "w", "file", 1, "byte");
28 var_dump( file_get_contents($file_path."/file1.tmp") );
29 delete_files($file_path, 1);
H A Dreadlink_realpath_basic1.phpt19 $file_path = dirname(__FILE__);
20 mkdir("$file_path/readlink_realpath_basic1/home/test/", 0777, true);
24 $file_handle3 = fopen("$file_path/readlink_realpath_basic1/readlink_realpath_basic1.tmp", "w");
29 symlink("$file_path/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp",
30 "$file_path/readlink_realpath_basic1/home/test/readlink_realpath_basic1_link.tmp");
31 symlink("$file_path/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp",
32 "$file_path/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp");
38 "$file_path/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp",
39 "$file_path/readlink_realpath_basic1/home/test/readlink_realpath_basic1_link.tmp",
45 "$file_path/readlink_realpath_basic1/..readlink_realpath_basic1_link.tmp",
[all …]
H A Drename_variation1-win32.phpt18 $file_path = dirname(__FILE__);
24 "$file_path/rename_variation/",
27 "$file_path/rename_variation/",
30 "$file_path//rename_variation//",
33 $dest_dir = "$file_path/rename_variation_dir";
45 mkdir("$file_path/rename_variation/");
61 $file_path = dirname(__FILE__);
62 unlink($file_path."/rename_variation_link.tmp");
63 unlink($file_path."/rename_variation.tmp");
64 rmdir($file_path."/rename_variation_dir");
H A Dstat_variation1-win32.phpt19 $file_path = dirname(__FILE__);
20 require "$file_path/file.inc";
24 mkdir("$file_path/stat_variation1/"); // temp dir
26 $file_handle = fopen("$file_path/stat_variation1.tmp", "w"); // temp file
34 $old_filename = "$file_path/stat_variation1.tmp";
35 $new_filename = "$file_path/stat_variation1a.tmp";
53 $old_dirname = "$file_path/stat_variation1";
54 $new_dirname = "$file_path/stat_variation1a";
76 $file_path = dirname(__FILE__);
77 unlink("$file_path/stat_variation1a.tmp");
[all …]
H A Drename_variation3.phpt12 $file_path = dirname(__FILE__);
14 $dest_dir = "$file_path/rename_variation_dir";
19 $filename = $file_path."/rename_variation1.tmp";
23 $linkname = $file_path."/rename_variation_hard_link1.tmp";
27 $dest_linkname = $file_path."/rename_variation_hard_link2.tmp";
46 $file_path = dirname(__FILE__);
47 unlink($file_path."/rename_variation_hard_link1.tmp");
48 rmdir($file_path."/rename_variation_dir");
H A Ddisk_free_space_error.phpt18 $file_path = dirname(__FILE__);
22 var_dump( disk_free_space( $file_path, "extra argument") ); // More than valid number of arguments
23 var_dump( diskfreespace( $file_path, "extra argument") );
26 var_dump( disk_free_space( $file_path."/dir1" )); // Invalid directory
27 var_dump( diskfreespace( $file_path."/dir1" ));
29 $fh = fopen( $file_path."/disk_free_space.tmp", "w" );
31 var_dump( disk_free_space( $file_path."/disk_free_space.tmp" )); // file input instead of directory
32 var_dump( diskfreespace( $file_path."/disk_free_space.tmp" ));
39 $file_path = dirname(__FILE__);
40 unlink($file_path."/disk_free_space.tmp");
H A Dis_readable_variation1.phpt28 $file_path = dirname(__FILE__);
29 mkdir("$file_path/is_readable_variation1");
38 "$file_path/is_readable_variation1/bar.tmp",
41 "$file_path/is_readable_variation1/bar.tmp/",
44 "$file_path/is_readable_variation1//bar.tmp",
45 "$file_path//is_readable_variation1//bar.tmp",
46 "$file_path/is_readable_variation1/*.tmp",
47 "$file_path/is_readable_variation1/b*.tmp",
50 "$file_path/is_readable_variation1".chr(0)."bar.tmp",
51 "$file_path".chr(0)."is_readable_variation1/bar.tmp",
[all …]
H A Dfile_variation.phpt15 $file_path = dirname(__FILE__);
18 $fh = fopen($file_path."/file_variation.tmp", "w");
29 ini_set( 'include_path',$file_path.'/file_variation' );
39 $out_array = file($file_path."/file2_variation.tmp");
50 var_dump( file($file_path."/file3_variation.tmp" ));
59 $file_path = dirname(__FILE__);
60 unlink($file_path."/file_variation.tmp");
61 unlink($file_path."/file_variation/file1_variation.tmp");
62 unlink($file_path."/file2_variation.tmp");
63 unlink($file_path."/file3_variation.tmp");
[all …]
H A Dfiletype_variation.phpt21 $file_path = dirname(__FILE__);
22 $file1 = $file_path."/filetype1_variation.tmp";
23 $file2 = $file_path."/filetype2_variation.tmp";
24 $file3 = $file_path."/filetype3_variation.tmp";
25 $link1 = $file_path."/filetype1_variation_link.tmp";
26 $link2 = $file_path."/filetype2_variation_link.tmp";
50 mkdir("$file_path/filetype_variation");
51 print( filetype("$file_path/filetype_variation") )."\n";
52 rmdir( "$file_path/filetype_variation" );
H A Drename_variation.phpt13 $file_path = dirname(__FILE__);
14 mkdir("$file_path/rename_variation");
19 "$file_path/rename_variation/rename_variation.tmp",
22 "$file_path/rename_variation/rename_variation.tmp/",
25 "$file_path/rename_variation//rename_variation.tmp",
26 "$file_path//rename_variation//rename_variation.tmp",
32 $fp = fopen("$file_path/rename_variation/rename_variation.tmp", "w");
34 $dest_filename = "$file_path/rename_variation2.tmp";
46 rmdir("$file_path/rename_variation");
H A Dlstat_stat_variation1.phpt20 $file_path = dirname(__FILE__);
21 require "$file_path/file.inc";
24 $fp = fopen("$file_path/lstat_stat_variation1.tmp", "w"); // temp file
29 $file_path = dirname(__FILE__);
30 $old_filename = "$file_path/lstat_stat_variation1.tmp";
31 $new_filename = "$file_path/lstat_stat_variation1a.tmp";
51 $file_path = dirname(__FILE__);
52 unlink("$file_path/lstat_stat_variation1a.tmp");
H A Drename_variation1.phpt13 $file_path = dirname(__FILE__);
19 "$file_path/rename_variation/",
22 "$file_path/rename_variation/",
25 "$file_path//rename_variation//",
28 $dest_dir = "$file_path/rename_variation_dir";
38 mkdir("$file_path/rename_variation/");
54 $file_path = dirname(__FILE__);
55 rmdir($file_path."/rename_variation_dir");
H A Ddisk_free_space_error-win32.phpt18 $file_path = dirname(__FILE__);
22 var_dump( disk_free_space( $file_path, "extra argument") ); // More than valid number of arguments
23 var_dump( diskfreespace( $file_path, "extra argument") );
26 var_dump( disk_free_space( $file_path."/dir1" )); // Invalid directory
27 var_dump( diskfreespace( $file_path."/dir1" ));
29 $fh = fopen( $file_path."/disk_free_space.tmp", "w" );
31 var_dump( disk_free_space( $file_path."/disk_free_space.tmp" )); // file input instead of directory
32 var_dump( diskfreespace( $file_path."/disk_free_space.tmp" ));
39 $file_path = dirname(__FILE__);
40 unlink($file_path."/disk_free_space.tmp");
H A Dglob_variation-win32.phpt17 $file_path = dirname(__FILE__);
20 mkdir("$file_path/glob_variation");
30 "$file_path/glob_variation/*der*",
31 "$file_path/glob_variation/?onder*",
32 "$file_path/glob_variation/w*der?*",
33 "$file_path/glob_variation/*der5",
38 '$file_path/glob_variation/wonder5',
40 "$file_path/glob_variation/wonder?",
64 rmdir("$file_path/glob_variation");
83 $file_path = dirname(__FILE__);
[all …]
H A Dglob_variation.phpt20 $file_path = dirname(__FILE__);
23 mkdir("$file_path/glob_variation");
33 "$file_path/glob_variation/*der*",
34 "$file_path/glob_variation/?onder*",
35 "$file_path/glob_variation/w*der?*",
36 "$file_path/glob_variation/*der5",
41 '$file_path/glob_variation/wonder5',
43 "$file_path/glob_variation/wonder?",
67 rmdir("$file_path/glob_variation");
86 $file_path = dirname(__FILE__);
[all …]
H A Dis_dir_basic.phpt11 $file_path = dirname(__FILE__);
12 var_dump( is_dir($file_path) );
17 $dir_name = $file_path."/is_dir_basic";
22 var_dump( is_bool( is_dir($file_path) ) );
29 $file_path = dirname(__FILE__);
30 $dir_name = $file_path."/is_dir_basic";
H A Drename_variation2.phpt12 $file_path = dirname(__FILE__);
14 $dest_dir = "$file_path/rename_variation_dir";
21 $filename = $file_path."/rename_variation2.tmp";
26 $linkname = $file_path."/rename_variation_soft_link1.tmp";
30 $dest_linkname = $file_path."/rename_variation_soft_link2.tmp";
51 $file_path = dirname(__FILE__);
52 unlink($file_path."/rename_variation2.tmp");
53 rmdir($file_path."/rename_variation_dir");
H A Dlstat_stat_variation12.phpt21 $file_path = dirname(__FILE__);
22 require "$file_path/file.inc";
26 $filename = "$file_path/lstat_stat_variation12.tmp";
30 $linkname = "$file_path/lstat_stat_variation12_link.tmp";
35 $linkname = "$file_path/lstat_stat_variation12_link.tmp";
55 $file_path = dirname(__FILE__);
56 unlink("$file_path/lstat_stat_variation12_link.tmp");
57 unlink("$file_path/lstat_stat_variation12.tmp");

Completed in 89 milliseconds

12345678910>>...14