Home
last modified time | relevance | path

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

/php-src/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));
29 var_dump(rmdir(__DIR__."/mkdir-002/subdir"));
38 d%s subdir
45 d%s subdir
52 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
34 var_dump( filesize( $file_path."/filesize_variation2/filesize_variation2_sub")); // size of subdir
37 echo "-- Creating a file inside sub-dir, and checking size of base, subdir and file created --\n";
38 // create only the file, as base and subdir is already created
46 // size of subdir
49 // size of file inside subdir
74 -- 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
34 var_dump( filesize( $file_path."/filesize_variation2/filesize_variation2_sub")); // size of subdir
37 echo "-- Creating a file inside sub-dir, and checking size of base, subdir and file created --\n";
38 // create only the file, as base and subdir is already created
46 // size of subdir
49 // size of file inside subdir
74 -- 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 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-src/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-src/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'));
114 unlink($e . 'subdir/ectory/file.txt');
115 rmdir($e . 'subdir/ectory');
116 rmdir($e . 'subdir');
121 unlink($e . 'subdir/ectory/file.txt');
122 rmdir($e . 'subdir/ectory');
123 rmdir($e . 'subdir');
/php-src/ext/spl/
H A Dspl_directory.c1491 spl_filesystem_object *subdir; in PHP_METHOD() local
1512 subdir = spl_filesystem_from_obj(Z_OBJ_P(return_value)); in PHP_METHOD()
1513 if (subdir) { in PHP_METHOD()
1521 subdir->u.dir.sub_path = sub_path; in PHP_METHOD()
1523 subdir->u.dir.sub_path = zend_string_init(intern->u.dir.entry.d_name, name_len, 0); in PHP_METHOD()
1525 subdir->info_class = intern->info_class; in PHP_METHOD()
1526 subdir->file_class = intern->file_class; in PHP_METHOD()
1527 subdir->oth = intern->oth; in PHP_METHOD()
/php-src/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-src/build/
H A Dphp.m4911 dnl "sources" is a list of files relative to the subdir which are used to build

Completed in 85 milliseconds