Home
last modified time | relevance | path

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

/PHP-8.0/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(__DIR__."/mkdir-002/subdir", 0777));
28 var_dump(rmdir(__DIR__."/mkdir-002/subdir"));
37 d%s subdir
44 d%s subdir
51 d%s subdir
H A Dunlink_variation6.phpt10 $subdir = 'subdir';
11 $testfile = $subdir.'/testfile.txt';
12 mkdir($subdir);
18 rmdir($subdir);
31 subdir/testfile.txt exists
33 subdir/testfile.txt doesn't exist
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(__DIR__."/mkdir-003/subdir", 0777, true));
15 var_dump(rmdir(__DIR__."/mkdir-003/subdir"));
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(__DIR__."/mkdir-001/subdir"));
18 var_dump(rmdir(__DIR__."/mkdir-001/subdir"));
H A Dstat_variation3-win32.phpt12 /* test the effects of creating & deleting of subdir/file on the stats of dir/file */
21 echo "*** Testing stat(): with creating & deleting subdir/file ***\n";
23 // creating and deleting subdir and files in the dir
24 echo "-- Testing stat() on dir after subdir and file is created in it --\n";
46 // comparing stats after the deletion of subdir and file
47 echo "-- Testing stat() for comparing stats after the deletion of subdir and file --\n";
63 *** Testing stat(): with creating & deleting subdir/file ***
64 -- Testing stat() on dir after subdir and file is created in it --
68 -- 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
15 /* test the effects on stats with creating file/subdir in a dir
21 // creating and deleting subdir and files in the dir
22 echo "*** Testing stat() on dir after subdir and file is created in it ***\n";
50 *** 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
33 var_dump( filesize( $file_path."/filesize_variation2/filesize_variation2_sub")); // size of subdir
36 echo "-- Creating a file inside sub-dir, and checking size of base, subdir and file created --\n";
37 // create only the file, as base and subdir is already created
45 // size of subdir
48 // size of file inside subdir
73 -- 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
33 var_dump( filesize( $file_path."/filesize_variation2/filesize_variation2_sub")); // size of subdir
36 echo "-- Creating a file inside sub-dir, and checking size of base, subdir and file created --\n";
37 // create only the file, as base and subdir is already created
45 // size of subdir
48 // size of file inside subdir
73 -- Creating a file inside sub-dir, and checking size of base, subdir and file created --
H A Dis_dir_variation1.phpt2 Test is_dir() function: usage variations - dir/subdir
15 echo "-- Testing is_dir() with a subdir in base dir --\n";
33 -- Testing is_dir() with a subdir in base dir --
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 Dfileinode_variation.phpt71 mkdir("$file_path/dir/subdir");
72 print( fileinode("$file_path/dir/subdir") )."\n";
78 print( fileinode(b"$file_path/dir/subdir") );
80 rmdir("$file_path/dir/subdir");
H A Dbasename_bug66395-win32.phpt8 echo basename("d:subdir\\file.txt") . "\n";
H A Dfilesize_variation3.phpt14 // truncate the file created earlier in subdir, the size of the file is 12000bytes
/PHP-8.0/ext/spl/tests/
H A Dbug77263.phpt7 mkdir("$dir/subdir");
9 touch("$dir/subdir/file2");
35 unlink("$dir/subdir/file2");
36 rmdir("$dir/subdir");
/PHP-8.0/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';
43 @unlink($dir . 'subdir/ectory/file.txt');
44 @rmdir($dir . 'subdir/ectory');
45 @rmdir($dir . 'subdir');
H A Dphar_extract.phpt18 $a['subdir/ectory/file.txt'] = 'hi3';
40 $a->extractTo(__DIR__ . '/extract1', 'subdir/ectory/file.txt');
41 var_dump(file_get_contents(__DIR__ . '/extract1/subdir/ectory/file.txt'));
115 @unlink($e . 'subdir/ectory/file.txt');
116 @rmdir($e . 'subdir/ectory');
117 @rmdir($e . 'subdir');
123 @unlink($e . 'subdir/ectory/file.txt');
124 @rmdir($e . 'subdir/ectory');
125 @rmdir($e . 'subdir');
/PHP-8.0/ext/spl/
H A Dspl_directory.c1498 spl_filesystem_object *subdir; in PHP_METHOD() local
1514 subdir = Z_SPLFILESYSTEM_P(return_value); in PHP_METHOD()
1515 if (subdir) { in PHP_METHOD()
1517subdir->u.dir.sub_path_len = spprintf(&subdir->u.dir.sub_path, 0, "%s%c%s", intern->u.dir.sub_path… in PHP_METHOD()
1519 subdir->u.dir.sub_path_len = strlen(intern->u.dir.entry.d_name); in PHP_METHOD()
1520 subdir->u.dir.sub_path = estrndup(intern->u.dir.entry.d_name, subdir->u.dir.sub_path_len); in PHP_METHOD()
1522 subdir->info_class = intern->info_class; in PHP_METHOD()
1523 subdir->file_class = intern->file_class; in PHP_METHOD()
1524 subdir->oth = intern->oth; in PHP_METHOD()
/PHP-8.0/win32/build/
H A Dconfutils.js887 var subdir = PHP_DEBUG == "yes" ? "Debug" : (PHP_DEBUG_PACK == "yes"?"Release_Dbg":"Release");
895 p = search_paths(subdir + "\\" + libname, path_to_check, "LIB");
897 p += "\\" + subdir;
/PHP-8.0/build/
H A Dphp.m4906 dnl "sources" is a list of files relative to the subdir which are used to build

Completed in 68 milliseconds