Home
last modified time | relevance | path

Searched refs:dir (Results 226 – 250 of 598) sorted by last modified time

12345678910>>...24

/PHP-7.2/ext/standard/tests/file/
H A Dfile_put_contents_variation8.phpt33 "/no/such/file/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_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 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 Dbug69628.phpt17 // temp dir created
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";
H A Dcopy_variation8.phpt15 /* Trying to copy the links across 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 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 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";
39 *** Test copy() function: Trying to create a copy of an existing dir ***
H A Dcopy_variation12.phpt2 Test copy() function: usage variations - dir as source (Bug #42111)
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";
39 *** 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) );
42 *** 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_variation6-win32.phpt16 into different destination dir paths given in various notations */
H A Dcopy_variation6.phpt16 into different destination dir paths given in various notations */
H A Dbasename-win32.phpt57 /* paths with shortcut home dir char, with suffix variation */
H A Dbasename.phpt60 /* paths with shortcut home dir char, with suffix variation */
73 /* paths with hostname:dir notation, with suffix variation */
H A Dbug41655_2.phpt7 $dir = dirname(__FILE__);
8 $a=glob($dir . "/test*csv");
/PHP-7.2/ext/standard/tests/dir/
H A Dscandir_variation10-win32-mb.phpt11 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]])
13 * Source code: ext/standard/dir.c
31 $dir = dirname(__FILE__) . '/私はガラスを食べられますscandir_variation10';
32 mkdir($dir);
33 @create_files($dir, 2, "numeric", 0755, 1, "w", "私はガラスを食べられますfile");
36 var_dump(scandir($dir, SCANDIR_SORT_ASCENDING));
37 var_dump(scandir($dir, SCANDIR_SORT_DESCENDING));
40 $files = scandir($dir, SCANDIR_SORT_NONE);
47 delete_files($dir, 2, "私はガラスを食べられますfile");
52 $dir = dirname(__FILE__) . '/私はガラスを食べられますscandir_variation10';
[all …]
H A Dscandir_variation10.phpt5 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]])
7 * Source code: ext/standard/dir.c
25 $dir = dirname(__FILE__) . '/scandir_variation10';
26 mkdir($dir);
27 @create_files($dir, 2);
30 var_dump(scandir($dir, SCANDIR_SORT_ASCENDING));
31 var_dump(scandir($dir, SCANDIR_SORT_DESCENDING));
34 $files = scandir($dir, SCANDIR_SORT_NONE);
41 delete_files($dir, 2);
46 $dir = dirname(__FILE__) . '/scandir_variation10';
[all …]
H A Dscandir_variation2-mb.phpt7 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]])
9 * Source code: ext/standard/dir.c
19 $dir = dirname(__FILE__) . '/私はガラスを食べられますscandir_variation2';
20 mkdir($dir);
95 var_dump( scandir($dir, $input) );
104 $dir = dirname(__FILE__) . '/私はガラスを食べられますscandir_variation2';
105 rmdir($dir);

Completed in 38 milliseconds

12345678910>>...24