Home
last modified time | relevance | path

Searched refs:dir (Results 201 – 225 of 528) sorted by last modified time

12345678910>>...22

/PHP-5.5/ext/standard/tests/file/
H A Dfile_get_contents_file_put_contents_error.phpt19 print( file_get_contents("/no/such/file/or/dir") );
51 Warning: file_get_contents(/no/such/file/or/dir): failed to open stream: No such file or directory …
H A Dfile_get_contents_file_put_contents_variation2.phpt20 $dir = "file_get_contents_variation2";
21 mkdir($file_path."/".$dir);
22 $filename = $file_path."/".$dir."/"."file_get_contents_variation2.tmp";
24 ini_set( 'include_path',$file_path."/".$dir );
H A Dfile_get_contents_variation7-win32.phpt19 $mainDir = "fileGetContentsVar7.dir";
58 $dir = $allDirs[$i];
60 var_dump(file_get_contents($dir."\\".$filename));
87 Warning: file_get_contents(%sfileGetContentsVar7.dir\fileGetContentsVar7Sub\..\\\fileGetContentsVar…
92 Warning: file_get_contents(%sfileGetContentsVar7.dir\fileGetContentsVar7Sub\BADDIR\FileGetContentsV…
H A Dfile_get_contents_variation7.phpt14 $mainDir = "fileGetContentsVar7.dir";
50 $dir = $allDirs[$i];
52 var_dump(file_get_contents($dir."/".$filename));
79 Warning: file_get_contents(%sfileGetContentsVar7.dir/fileGetContentsVar7Sub/..///fileGetContentsVar…
84 Warning: file_get_contents(%sfileGetContentsVar7.dir/fileGetContentsVar7Sub/BADDIR/FileGetContentsV…
H A Dfileowner_error.phpt11 /* Non-existing file or dir */
12 var_dump( fileowner("/no/such/file/dir") );
28 Warning: fileowner(): stat failed for /no/such/file/dir in %s on line %d
H A Dfile.inc155 $file_path = dir path where file exists
203 $file_path = dir where files will be created
H A Dfile_get_contents_error.phpt18 print( file_get_contents("/no/such/file/or/dir") );
53 Warning: file_get_contents(/no/such/file/or/dir): failed to open stream: No such file or directory …
H A Ddisk_total_space_variation.phpt22 $dir = "/disk_total_space";
24 mkdir($file_path.$dir);
28 $file_path.$dir,
29 $file_path."/.".$dir,
32 $file_path."".$dir."/",
33 $file_path."/.".$dir."/",
36 $file_path.$dir."//",
37 $file_path."/.".$dir."//",
38 $file_path."/./".$dir."//",
41 $file_path.$dir.chr(0),
[all …]
H A Dcopy_variation11.phpt2 Test copy() function: usage variations - existing dir as destination
14 echo "*** Test copy() function: Trying to create a copy of source file as a dir ***\n";
20 $dir = $file_path."/copy_variation11";
21 mkdir($dir);
27 var_dump( filesize($dir) ); //size of destination before copy
31 var_dump( copy($file, $dir) ); //expected: bool(false)
34 var_dump( file_exists($dir) ); //expected: bool(true)
39 var_dump( is_file($dir) ); //expected: bool(false)
40 var_dump( is_dir($dir) ); //expected: bool(true)
43 var_dump( filesize($dir) ); //size of destination after copy
[all …]
H A Dcopy_variation12-win32.phpt2 Test copy() function: usage variations - dir as source
15 /* Test copy(): Trying to create a copy of an existing dir */
19 echo "*** Test copy() function: Trying to create a copy of an existing dir ***\n";
41 *** Test copy() function: Trying to create a copy of an existing dir ***
H A Dcopy_variation6.phpt16 into different destination dir paths given in various notations */
H A Ddisk_free_space_basic.phpt25 $dir = "/disk_free_space";
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);
H A Ddisk_free_space_variation.phpt23 $dir = "/disk_free_space";
24 mkdir($file_path.$dir);
28 $file_path.$dir,
29 $file_path."/.".$dir,
32 $file_path."".$dir."/",
33 $file_path."/.".$dir."/",
36 $file_path.$dir."//",
37 $file_path."/.".$dir."//",
38 $file_path."/./".$dir."//",
41 $file_path.$dir.chr(0),
[all …]
H A Ddisk_total_space_basic.phpt18 $dir = "/disk_total_space";
20 mkdir($file_path.$dir);
21 var_dump( disk_total_space($file_path.$dir) );
22 $fh = fopen($file_path.$dir."/disk_total_space.tmp", "w");
28 var_dump( disk_total_space($file_path.$dir) );
H A Dbug41874_2.phpt13 $result = exec('cd 1:\\non_existent; dir nonexistent');
H A Dbug41874_3.phpt13 system('cd 1:\\non_existent; dir nonexistent');
H A Dbug68335.phpt5 $dir = 'file://' . dirname(__FILE__) . '/testDir';
6 mkdir($dir);
7 var_dump(is_dir($dir));
8 rmdir($dir);
9 var_dump(is_dir($dir));
H A Dbug69628.phpt17 // temp dir created
H A Dcopy_variation12.phpt2 Test copy() function: usage variations - dir as source (Bug #42111)
16 /* Test copy(): Trying to create a copy of an existing dir */
20 echo "*** Test copy() function: Trying to create a copy of an existing dir ***\n";
42 *** Test copy() function: Trying to create a copy of an existing dir ***
H A Dcopy_variation13.phpt10 /* Test copy(): Trying to copy dir to an existing file */
16 $dir = $file_path."/copy_variation13";
17 mkdir($dir);
19 echo "*** Testing copy() in copying dir to file ***\n";
20 var_dump( copy($dir, $file) );
23 var_dump( file_exists($dir) );
25 var_dump( is_file($dir) );
26 var_dump( is_dir($dir) );
32 var_dump( filesize($dir) );
44 *** Test copy() function: Trying to copy dir to file ***
[all …]
H A Dcopy_variation14.phpt25 var_dump( copy($file, $file_path."/nodir/copy_nosuchfile.tmp") ); //With non-existing dir path
H A Dcopy_variation15.phpt2 Test copy() function: usage variations - destination dir access perms
24 /* Test copy(): Trying to create a copy of file in a dir which doesn't have write permissions */
34 $dir = $file_path."/copy_variation15";
35 mkdir($dir);
37 $old_perms = fileperms($dir);
39 chmod($dir, 0555); //dir without write permissions
41 $dest = $dir."/copy_copy_variation15.tmp";
43 var_dump( copy($file, $dir."/copy_copy_variation15.tmp") );
44 var_dump( file_exists($dir."/copy_copy_variation15_dir.tmp") );
47 chmod($dir, $old_perms);
[all …]
H A Dcopy_variation16-win32.phpt16 into different destination dir paths given in various notations */
H A Dcopy_variation16.phpt16 into different destination dir paths given in various notations */
H A Dcopy_variation17.phpt20 $dir = $file_path."/copy_variation17";
21 mkdir($dir);
31 $dest_file_name = $dir."/copy_copy_variation17.tmp";

Completed in 34 milliseconds

12345678910>>...22