Home
last modified time | relevance | path

Searched refs:directory (Results 1 – 25 of 511) sorted by relevance

12345678910>>...21

/PHP-8.0/ext/standard/tests/file/
H A Dmkdir_rmdir_variation-win32-mb.phpt55 -- Changing mode of directory to 0 --
58 -- Changing mode of directory to 1 --
61 -- Changing mode of directory to 2 --
64 -- Changing mode of directory to 3 --
67 -- Changing mode of directory to 4 --
70 -- Changing mode of directory to 5 --
73 -- Changing mode of directory to 6 --
76 -- Changing mode of directory to 7 --
79 -- Changing mode of directory to 8 --
82 -- Changing mode of directory to 9 --
[all …]
H A Dmkdir_rmdir_variation-win32.phpt55 -- Changing mode of directory to 0 --
58 -- Changing mode of directory to 1 --
61 -- Changing mode of directory to 2 --
64 -- Changing mode of directory to 3 --
67 -- Changing mode of directory to 4 --
70 -- Changing mode of directory to 5 --
73 -- Changing mode of directory to 6 --
76 -- Changing mode of directory to 7 --
79 -- Changing mode of directory to 8 --
82 -- Changing mode of directory to 9 --
[all …]
H A Dmkdir_rmdir_variation1.phpt31 -- Changing mode of directory to 0 --
34 -- Changing mode of directory to 1 --
37 -- Changing mode of directory to 2 --
40 -- Changing mode of directory to 3 --
43 -- Changing mode of directory to 4 --
46 -- Changing mode of directory to 5 --
49 -- Changing mode of directory to 6 --
52 -- Changing mode of directory to 7 --
55 -- Changing mode of directory to 8 --
58 -- Changing mode of directory to 9 --
[all …]
H A Dtempnam_variation4-0.phpt51 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
54 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
57 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
60 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
63 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
66 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
69 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
72 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
75 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
78 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
[all …]
H A Dtempnam_variation4-1.phpt51 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
54 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
57 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
60 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
63 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
66 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
69 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
72 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
75 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
78 Notice: tempnam(): file created in the system's temporary directory in %s on line %d
[all …]
H A Drename_variation5.phpt32 echo "\n-- Renaming directory to same directory name --\n";
35 echo "\n-- Renaming existing link to existing directory name --\n";
68 -- Renaming directory to same directory name --
71 -- Renaming existing link to existing directory name --
73 Warning: rename(%s,%s): Is a directory in %s on line %d
79 -- Renaming existing file to existing directory name --
81 Warning: rename(%s,%s): Is a directory in %s on line %d
87 -- Renaming existing directory to existing file name --
89 Warning: rename(%s,%s): Not a directory in %s on line %d
92 -- Renaming existing directory to existing link name --
[all …]
H A Dunlink_variation10.phpt46 echo "\n--- try to unlink a directory ---\n";
64 echo "directory unlinked\n";
80 directory unlinked
82 directory unlinked
84 directory unlinked
86 directory unlinked
88 directory unlinked
90 directory unlinked
92 directory unlinked
94 directory unlinked
[all …]
H A Duserwrapper.phpt14 function mkdir($directory, $mode, $options) {
15 …printf("Making directory: %s as %o%s\n", $directory, $mode, $options & STREAM_MKDIR_RECURSIVE ? " …
18 function rmdir($directory, $options) {
19 print "Removing directory: $directory\n";
40 mkdir('test://example.com/path/to/directory', 0755);
41 rmdir('test://example.com/path/to/directory');
49 Making directory: test://example.com/path/to/directory as 755
50 Removing directory: test://example.com/path/to/directory
/PHP-8.0/ext/session/
H A Dmod_files.sh20 directory="$1"
34 while [[ -d $directory ]] && [[ $( ls $directory ) ]]; do
35 echo "Directory $directory is not empty! What would you like to do?"
42 echo "Deleting $directory contents... "
43 rm -rf $directory/*
46 read directory
55 if [[ ! -d $directory ]]; then
56 mkdir -p $directory
60 echo "Creating session path in $directory with a depth of $depth for session.sid_bits_per_character…
63 newpath="$directory/$i"
/PHP-8.0/tests/security/
H A Dopen_basedir.inc5 // SAPIs set the working directory differently. So simply creating a directory
23 $directory = substr($directory, 0, -1);
36 $handle = opendir($directory);
54 @chmod($directory, 0777);
55 rmdir($directory);
62 $directory = getcwd();
84 $directory = $savedDirectory;
92 $directory = getcwd();
93 $savedDirectory = $directory;
94 var_dump(chdir($directory));
[all …]
/PHP-8.0/ext/standard/tests/dir/
H A Ddir_variation6.phpt2 Test dir() function : usage variations - non-existent directory
15 echo "*** Testing dir() : open a non-existent directory ***\n";
17 // create the temporary directory
22 // open existent directory
26 // remove directory and try to open the same(non-existent) directory again
30 echo "-- opening previously removed directory --\n";
33 // point to a non-existent directory
35 echo "-- opening non-existent directory --\n";
42 *** Testing dir() : open a non-existent directory ***
43 -- opening previously removed directory --
[all …]
H A Dclosedir_variation2.phpt2 Test closedir() function : usage variations - close directory handle twice
11 //create temporary directory for test, removed in CLEAN section
12 $directory = __DIR__ . "/closedir_variation2";
13 mkdir($directory);
15 $dh = opendir($directory);
17 echo "\n-- Close directory handle first time: --\n";
22 echo "\n-- Close directory handle second time: --\n";
33 $directory = __DIR__ . "/closedir_variation2";
34 rmdir($directory);
39 -- Close directory handle first time: --
[all …]
H A Dclosedir_variation2-win32-mb.phpt2 Test closedir() function : usage variations - close directory handle twice
17 //create temporary directory for test, removed in CLEAN section
18 $directory = __DIR__ . "/私はガラスを食べられますclosedir_variation2";
19 mkdir($directory);
21 $dh = opendir($directory);
23 echo "\n-- Close directory handle first time: --\n";
28 echo "\n-- Close directory handle second time: --\n";
39 $directory = __DIR__ . "/私はガラスを食べられますclosedir_variation2";
40 rmdir($directory);
45 -- Close directory handle first time: --
[all …]
H A Dchdir_variation2.phpt23 echo "\n-- \$directory = './level2_one': --\n";
33 echo "\n-- \$directory = '..': --\n";
42 echo "\n-- \$directory = '../': --\n";
46 echo "\n-- \$directory = './': --\n";
66 -- $directory = './level2_one': --
71 -- $directory = 'level2_one/level2_two': --
76 -- $directory = '..': --
80 -- $directory = 'level2_two', '.': --
85 -- $directory = '../': --
89 -- $directory = './': --
[all …]
H A Dscandir_basic.phpt14 // set up directory
15 $directory = __DIR__ . '/scandir_basic';
16 mkdir($directory);
17 create_files($directory, 3);
20 var_dump(scandir($directory));
25 var_dump(scandir($directory, $sorting_order, $context));
27 delete_files($directory, 3);
31 $directory = __DIR__ . '/scandir_basic';
32 rmdir($directory);
H A Ddir_variation4.phpt2 Test dir() function : usage variations - operate on previously opened directory
7 * directory which is already open.
15 // create the temporary directory
20 // create files within the temporary directory
23 // open the directory
27 // open the same directory again without closing it
31 echo "-- reading directory contents with previous handle --\n";
34 echo "-- reading directory contents with current handle --\n";
49 *** Testing dir() : operate on previously opened directory ***
62 -- reading directory contents with previous handle --
[all …]
H A Dchdir_variation2-win32-mb.phpt30 echo "\n-- \$directory = './私はガラスを食べられますlevel_one': --\n";
40 echo "\n-- \$directory = '..': --\n";
44 echo "\n-- \$directory = '私はガラスを食べられますlevel_two', '.': --\n";
49 echo "\n-- \$directory = '../': --\n";
53 echo "\n-- \$directory = './': --\n";
74 -- $directory = './私はガラスを食べられますlevel_one': --
84 -- $directory = '..': --
88 -- $directory = '私はガラスを食べられますlevel_two', '.': --
93 -- $directory = '../': --
97 -- $directory = './': --
[all …]
H A Dgetcwd_basic.phpt11 //create temporary directory for test, removed in CLEAN section
12 $directory = __DIR__ . "/getcwd_basic";
13 mkdir($directory);
16 chdir($directory);
21 $directory = __DIR__ . "/getcwd_basic";
22 rmdir($directory);
H A Dscandir_basic-win32-mb.phpt20 // set up directory
21 $directory = __DIR__ . '/私はガラスを食べられますscandir_basic';
22 mkdir($directory);
23 create_files($directory, 3, "numeric", 0755, 1, "w", "私はガラスを食べられますfile");
26 var_dump(scandir($directory));
31 var_dump(scandir($directory, $sorting_order, $context));
33 delete_files($directory, 3, "私はガラスを食べられますfile");
37 $directory = __DIR__ . '/私はガラスを食べられますscandir_basic';
38 rmdir($directory);
H A Ddir_variation4-win32-mb.phpt2 Test dir() function : usage variations - operate on previously opened directory
13 * directory which is already open.
21 // create the temporary directory
26 // create files within the temporary directory
29 // open the directory
33 // open the same directory again without closing it
37 echo "-- reading directory contents with previous handle --\n";
40 echo "-- reading directory contents with current handle --\n";
55 *** Testing dir() : operate on previously opened directory ***
68 -- reading directory contents with previous handle --
[all …]
H A Dgetcwd_basic-win32-mb.phpt17 //create temporary directory for test, removed in CLEAN section
18 $directory = __DIR__ . "/私はガラスを食べられますgetcwd_basic";
19 mkdir($directory);
22 chdir($directory);
27 $directory = __DIR__ . "/私はガラスを食べられますgetcwd_basic";
28 rmdir($directory);
H A Dchdir_error2.phpt2 Test chdir() function : error conditions - Non-existent directory
6 * Pass a directory that does not exist as $directory to chdir() to test behaviour
11 $directory = __FILE__ . '/idonotexist';
13 var_dump(chdir($directory));
/PHP-8.0/ext/standard/tests/file/windows_links/
H A Dreadlink_compat.phpt35 // junction to a directory
37 $target = $tmpDir . '\\test\\directory';
44 $target = $tmpDir . '\\test\\directory';
74 rmdir($tmpDir . '\\test\\directory');
81 string(%d) "%s\mnt\test\directory"
82 string(%d) "%s\mnt\test\directory"
83 string(%d) "%s\mnt\test\directory"
84 string(%d) "%s\mnt\test\directory\a.php"
85 string(%d) "%s\mnt\test\directory\a.php"
88 string(%d) "%s\mnt\test\directory"
[all …]
/PHP-8.0/ext/sqlite3/tests/
H A Dsqlite3_21_security.phpt11 $directory = __DIR__ . '/';
14 echo "Within test directory\n";
15 $db = new SQLite3($directory . $file);
18 unlink($directory . $file);
20 echo "Above test directory\n";
30 Within test directory
34 Above test directory
/PHP-8.0/ext/session/tests/
H A Dsession_save_path_variation5.phpt17 $directory = __DIR__;
18 $sessions = ($directory."/sessions");
20 chdir($directory);
22 // Delete the existing directory
29 ini_set("session.save_path", $directory);
38 $directory = __DIR__;
39 $sessions = ($directory."/sessions");

Completed in 59 milliseconds

12345678910>>...21