/PHP-7.3/ext/standard/tests/file/ |
H A D | mkdir-002.phpt | 13 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 D | mkdir-003.phpt | 6 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 D | unlink_variation6.phpt | 16 $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 D | mkdir-001.phpt | 7 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 D | stat_variation3-win32.phpt | 17 /* 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 D | lstat_stat_variation9.phpt | 2 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 D | lstat_stat_variation8.phpt | 2 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 D | filesize_variation2-win32.phpt | 2 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 D | filesize_variation2.phpt | 2 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 D | mkdir-004.phpt | 14 var_dump(mkdir("/testdir/subdir", 0777, true)); 15 var_dump(rmdir("/testdir/subdir"));
|
H A D | mkdir-005.phpt | 15 var_dump(mkdir("./testdir/subdir", 0777, true)); 16 var_dump(rmdir("./testdir/subdir"));
|
H A D | is_dir_variation1.phpt | 2 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 D | fileinode_variation.phpt | 75 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 D | basename_bug66395-win32.phpt | 8 echo basename("d:subdir\\file.txt") . "\n";
|
H A D | filesize_variation3-win32.phpt | 25 // truncate the file created earlier in subdir, the size of the file is 12000bytes
|
H A D | filesize_variation3.phpt | 25 // truncate the file created earlier in subdir, the size of the file is 12000bytes
|
/PHP-7.3/ext/spl/tests/ |
H A D | bug77263.phpt | 7 mkdir("$dir/subdir"); 9 touch("$dir/subdir/file2"); 35 unlink("$dir/subdir/file2"); 36 rmdir("$dir/subdir");
|
/PHP-7.3/ext/phar/tests/ |
H A D | pharfileinfo_destruct.phpt | 13 $a['a/subdir/here'] = 'hi'; 15 $b = new PharFileInfo($pname . '/a/subdir'); 18 $b = new PharFileInfo($pname . '/a/subdir/here');
|
H A D | pharfileinfo_getcrc32.phpt | 19 $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 D | phar_extract2.phpt | 18 $phar['subdir/ectory/file.txt'] = 'hi3'; 44 @unlink($dir . 'subdir/ectory/file.txt'); 45 @rmdir($dir . 'subdir/ectory'); 46 @rmdir($dir . 'subdir');
|
H A D | phar_extract.phpt | 16 $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.3/ext/spl/ |
H A D | spl_directory.c | 1518 spl_filesystem_object *subdir; in SPL_METHOD() local 1532 subdir = Z_SPLFILESYSTEM_P(return_value); in SPL_METHOD() 1533 if (subdir) { in SPL_METHOD() 1535 …subdir->u.dir.sub_path_len = spprintf(&subdir->u.dir.sub_path, 0, "%s%c%s", intern->u.dir.sub_path… in SPL_METHOD() 1537 subdir->u.dir.sub_path_len = strlen(intern->u.dir.entry.d_name); in SPL_METHOD() 1538 subdir->u.dir.sub_path = estrndup(intern->u.dir.entry.d_name, subdir->u.dir.sub_path_len); in SPL_METHOD() 1540 subdir->info_class = intern->info_class; in SPL_METHOD() 1541 subdir->file_class = intern->file_class; in SPL_METHOD() 1542 subdir->oth = intern->oth; in SPL_METHOD()
|
/PHP-7.3/win32/build/ |
H A D | confutils.js | 902 var subdir = PHP_DEBUG == "yes" ? "Debug" : (PHP_DEBUG_PACK == "yes"?"Release_Dbg":"Release"); 910 p = search_paths(subdir + "\\" + libname, path_to_check, "LIB"); 912 p += "\\" + subdir;
|
/PHP-7.3/ |
H A D | acinclude.m4 | 935 dnl "sources" is a list of files relative to the subdir which are used
|