Home
last modified time | relevance | path

Searched refs:subdir (Results 1 – 23 of 23) sorted by relevance

/PHP-7.2/ext/standard/tests/file/
H A Dmkdir-002.phpt13 var_dump(mkdir("mkdir-002/subdir", 0777));
15 var_dump(rmdir("mkdir-002/subdir"));
19 var_dump(mkdir("./mkdir-002/subdir", 0777));
21 var_dump(rmdir("./mkdir-002/subdir"));
25 var_dump(mkdir(dirname(__FILE__)."/mkdir-002/subdir", 0777));
28 var_dump(rmdir(dirname(__FILE__)."/mkdir-002/subdir"));
37 d%s subdir
44 d%s subdir
51 d%s subdir
H A Dmkdir-003.phpt6 var_dump(mkdir("mkdir-003/subdir", 0777, true));
7 var_dump(rmdir("mkdir-003/subdir"));
10 var_dump(mkdir("./mkdir-003/subdir", 0777, true));
11 var_dump(rmdir("./mkdir-003/subdir"));
14 var_dump(mkdir(dirname(__FILE__)."/mkdir-003/subdir", 0777, true));
15 var_dump(rmdir(dirname(__FILE__)."/mkdir-003/subdir"));
H A Dunlink_variation6.phpt16 $subdir = 'subdir';
17 $testfile = $subdir.'/testfile.txt';
18 mkdir($subdir);
24 rmdir($subdir);
38 subdir/testfile.txt exists
40 subdir/testfile.txt doesn't exist
H A Dmkdir-001.phpt7 var_dump(mkdir("mkdir-001/subdir"));
8 var_dump(rmdir("mkdir-001/subdir"));
12 var_dump(mkdir("./mkdir-001/subdir"));
13 var_dump(rmdir("./mkdir-001/subdir"));
17 var_dump(mkdir(dirname(__FILE__)."/mkdir-001/subdir"));
18 var_dump(rmdir(dirname(__FILE__)."/mkdir-001/subdir"));
H A Dstat_variation3-win32.phpt17 /* test the effects of creating & deleting of subdir/file on the stats of dir/file */
26 echo "*** Testing stat(): with creating & deleting subdir/file ***\n";
28 // creating and deleting subdir and files in the dir
29 echo "-- Testing stat() on dir after subdir and file is created in it --\n";
51 // comparing stats after the deletion of subdir and file
52 echo "-- Testing stat() for comparing stats after the deletion of subdir and file --\n";
68 *** Testing stat(): with creating & deleting subdir/file ***
69 -- Testing stat() on dir after subdir and file is created in it --
73 -- Testing stat() for comparing stats after the deletion of subdir and file --
H A Dlstat_stat_variation9.phpt2 Test lstat() and stat() functions: usage variations - deleting file/subdir
21 /* test the effects on stats by deleting file/subdir from a dir
24 echo "*** Testing stat() for comparing stats after the deletion of subdir and file ***\n";
26 /* first create the dir/subdir and files, record the stat */
30 // creating and deleting subdir and files in the dir
43 // comparing stats after the deletion of subdir and file
62 *** Testing stat() for comparing stats after the deletion of subdir and file ***
H A Dlstat_stat_variation8.phpt2 Test lstat() and stat() functions: usage variations - creating file/subdir
22 /* test the effects on stats with creating file/subdir in a dir
28 // creating and deleting subdir and files in the dir
29 echo "*** Testing stat() on dir after subdir and file is created in it ***\n";
57 *** Testing stat() on dir after subdir and file is created in it ***
H A Dfilesize_variation2-win32.phpt2 Test filesize() function: usage variations - size of dir/subdir
39 var_dump( filesize( $file_path."/filesize_variation2/filesize_variation2_sub")); // size of subdir
42 echo "-- Creating a file inside sub-dir, and checking size of base, subdir and file created --\n";
43 // create only the file, as base and subdir is already created
51 // size of subdir
54 // size of file inside subdir
79 -- Creating a file inside sub-dir, and checking size of base, subdir and file created --
H A Dfilesize_variation2.phpt2 Test filesize() function: usage variations - size of dir/subdir
39 var_dump( filesize( $file_path."/filesize_variation2/filesize_variation2_sub")); // size of subdir
42 echo "-- Creating a file inside sub-dir, and checking size of base, subdir and file created --\n";
43 // create only the file, as base and subdir is already created
51 // size of subdir
54 // size of file inside subdir
79 -- Creating a file inside sub-dir, and checking size of base, subdir and file created --
H A Dmkdir-004.phpt14 var_dump(mkdir("/testdir/subdir", 0777, true));
15 var_dump(rmdir("/testdir/subdir"));
H A Dmkdir-005.phpt15 var_dump(mkdir("./testdir/subdir", 0777, true));
16 var_dump(rmdir("./testdir/subdir"));
H A Dis_dir_variation1.phpt2 Test is_dir() function: usage variations - dir/subdir
20 echo "-- Testing is_dir() with a subdir in base dir --\n";
38 -- Testing is_dir() with a subdir in base dir --
H A Dfileinode_variation.phpt75 mkdir("$file_path/dir/subdir");
76 print( fileinode("$file_path/dir/subdir") )."\n";
82 print( fileinode(b"$file_path/dir/subdir") );
84 rmdir("$file_path/dir/subdir");
H A Dbasename_bug66395-win32.phpt8 echo basename("d:subdir\\file.txt") . "\n";
H A Dfilesize_variation3-win32.phpt25 // truncate the file created earlier in subdir, the size of the file is 12000bytes
H A Dfilesize_variation3.phpt25 // truncate the file created earlier in subdir, the size of the file is 12000bytes
/PHP-7.2/ext/phar/tests/
H A Dpharfileinfo_destruct.phpt13 $a['a/subdir/here'] = 'hi';
15 $b = new PharFileInfo($pname . '/a/subdir');
18 $b = new PharFileInfo($pname . '/a/subdir/here');
H A Dpharfileinfo_getcrc32.phpt19 $files['a/subdir/here'] = array('cont'=>'a','ulen'=>1,'clen'=>1);
22 $b = new PharFileInfo($pname . '/a/subdir');
29 $b = new PharFileInfo($pname . '/a/subdir/here');
35 $a = file_get_contents($pname . '/a/subdir/here');
H A Dphar_extract2.phpt18 $phar['subdir/ectory/file.txt'] = 'hi3';
44 @unlink($dir . 'subdir/ectory/file.txt');
45 @rmdir($dir . 'subdir/ectory');
46 @rmdir($dir . 'subdir');
H A Dphar_extract.phpt16 $a['subdir/ectory/file.txt'] = 'hi3';
38 $a->extractTo(dirname(__FILE__) . '/extract1', 'subdir/ectory/file.txt');
39 var_dump(file_get_contents(dirname(__FILE__) . '/extract1/subdir/ectory/file.txt'));
110 @unlink($e . 'subdir/ectory/file.txt');
111 @rmdir($e . 'subdir/ectory');
112 @rmdir($e . 'subdir');
118 @unlink($e . 'subdir/ectory/file.txt');
119 @rmdir($e . 'subdir/ectory');
120 @rmdir($e . 'subdir');
/PHP-7.2/ext/spl/
H A Dspl_directory.c1519 spl_filesystem_object *subdir; in SPL_METHOD() local
1534 subdir = Z_SPLFILESYSTEM_P(return_value); in SPL_METHOD()
1535 if (subdir) { in SPL_METHOD()
1537subdir->u.dir.sub_path_len = spprintf(&subdir->u.dir.sub_path, 0, "%s%c%s", intern->u.dir.sub_path… in SPL_METHOD()
1539 subdir->u.dir.sub_path_len = strlen(intern->u.dir.entry.d_name); in SPL_METHOD()
1540 subdir->u.dir.sub_path = estrndup(intern->u.dir.entry.d_name, subdir->u.dir.sub_path_len); in SPL_METHOD()
1542 subdir->info_class = intern->info_class; in SPL_METHOD()
1543 subdir->file_class = intern->file_class; in SPL_METHOD()
1544 subdir->oth = intern->oth; in SPL_METHOD()
/PHP-7.2/win32/build/
H A Dconfutils.js879 var subdir = PHP_DEBUG == "yes" ? "Debug" : (PHP_DEBUG_PACK == "yes"?"Release_Dbg":"Release");
887 p = search_paths(subdir + "\\" + libname, path_to_check, "LIB");
889 p += "\\" + subdir;
/PHP-7.2/
H A Dacinclude.m4938 dnl "sources" is a list of files relative to the subdir which are used

Completed in 45 milliseconds