Home
last modified time | relevance | path

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

12345678910>>...23

/PHP-7.3/ext/standard/tests/file/
H A Dmkdir_rmdir_variation-win32-mb.phpt12 Description: Makes directory
58 -- Changing mode of directory to 0 --
61 -- Changing mode of directory to 1 --
64 -- Changing mode of directory to 2 --
67 -- Changing mode of directory to 3 --
70 -- Changing mode of directory to 4 --
73 -- Changing mode of directory to 5 --
76 -- Changing mode of directory to 6 --
79 -- Changing mode of directory to 7 --
82 -- Changing mode of directory to 8 --
[all …]
H A Dmkdir_rmdir_variation-win32.phpt12 Description: Makes directory
58 -- Changing mode of directory to 0 --
61 -- Changing mode of directory to 1 --
64 -- Changing mode of directory to 2 --
67 -- Changing mode of directory to 3 --
70 -- Changing mode of directory to 4 --
73 -- Changing mode of directory to 5 --
76 -- Changing mode of directory to 6 --
79 -- Changing mode of directory to 7 --
82 -- Changing mode of directory to 8 --
[all …]
H A Dmkdir_rmdir_variation1.phpt22 Description: Makes directory
43 -- Changing mode of directory to 0 --
46 -- Changing mode of directory to 1 --
49 -- Changing mode of directory to 2 --
52 -- Changing mode of directory to 3 --
55 -- Changing mode of directory to 4 --
58 -- Changing mode of directory to 5 --
61 -- Changing mode of directory to 6 --
64 -- Changing mode of directory to 7 --
67 -- Changing mode of directory to 8 --
[all …]
H A Dtempnam_variation4-0.phpt63 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o…
66 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o…
69 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o…
72 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o…
75 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o…
78 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o…
81 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o…
84 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o…
87 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o…
90 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o…
[all …]
H A Dtempnam_variation4-1.phpt63 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php o…
66 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php o…
69 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php o…
72 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php o…
75 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php o…
78 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php o…
81 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php o…
84 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php o…
87 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php o…
90 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php o…
[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 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-7.3/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-7.3/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-7.3/ext/standard/tests/dir/
H A Dclosedir_variation2.phpt2 Test closedir() function : usage variations - close directory handle twice
17 //create temporary directory for test, removed in CLEAN section
18 $directory = dirname(__FILE__) . "/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";
36 $directory = dirname(__FILE__) . "/closedir_variation2";
37 rmdir($directory);
42 -- Close directory handle first time: --
[all …]
H A Dchdir_variation2.phpt5 /* Prototype : bool chdir(string $directory)
6 * Description: Change the current directory
38 echo "\n-- \$directory = '..': --\n";
47 echo "\n-- \$directory = '../': --\n";
51 echo "\n-- \$directory = './': --\n";
72 -- $directory = './level2_one': --
82 -- $directory = '..': --
86 -- $directory = 'level2_two', '.': --
91 -- $directory = '../': --
95 -- $directory = './': --
[all …]
H A Ddir_variation6.phpt2 Test dir() function : usage variations - non-existent directory
12 * Prototype : object dir(string $directory[, resource $context])
23 // create the temporary directory
28 // open existent directory
32 // remove directory and try to open the same(non-existent) directory again
36 echo "-- opening previously removed directory --\n";
39 // point to a non-existent directory
41 echo "-- opening non-existent directory --\n";
48 *** Testing dir() : open a non-existent directory ***
49 -- opening previously removed directory --
[all …]
H A Dclosedir_variation2-win32-mb.phpt2 Test closedir() function : usage variations - close directory handle twice
12 * Description: Close directory connection identified by the dir_handle
23 //create temporary directory for test, removed in CLEAN section
24 $directory = dirname(__FILE__) . "/私はガラスを食べられますclosedir_variation2";
25 mkdir($directory);
27 $dh = opendir($directory);
29 echo "\n-- Close directory handle first time: --\n";
34 echo "\n-- Close directory handle second time: --\n";
43 rmdir($directory);
48 -- Close directory handle first time: --
[all …]
H A Dchdir_variation2-win32-mb.phpt11 /* Prototype : bool chdir(string $directory)
12 * Description: Change the current directory
44 echo "\n-- \$directory = '..': --\n";
53 echo "\n-- \$directory = '../': --\n";
57 echo "\n-- \$directory = './': --\n";
83 -- $directory = './私はガラスを食べられますlevel_one': --
93 -- $directory = '..': --
97 -- $directory = '私はガラスを食べられますlevel_two', '.': --
102 -- $directory = '../': --
106 -- $directory = './': --
[all …]
H A Dchdir_error2.phpt2 Test chdir() function : error conditions - Non-existent directory
5 /* Prototype : bool chdir(string $directory)
6 * Description: Change the current directory
11 * Pass a directory that does not exist as $directory to chdir() to test behaviour
16 $directory = __FILE__ . '/idonotexist';
18 var_dump(chdir($directory));
H A Ddir_variation4.phpt6 * Prototype : object dir(string $directory[, resource $context])
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.phpt6 * Description: Gets the current directory
16 //create temporary directory for test, removed in CLEAN section
17 $directory = dirname(__FILE__) . "/getcwd_basic";
18 mkdir($directory);
21 chdir($directory);
27 $directory = dirname(__FILE__) . "/getcwd_basic";
28 rmdir($directory);
H A Ddir_variation4-win32-mb.phpt12 * Prototype : object dir(string $directory[, resource $context])
19 * directory which is already open.
27 // create the temporary directory
32 // create files within the temporary directory
35 // open the directory
39 // open the same directory again without closing it
43 echo "-- reading directory contents with previous handle --\n";
46 echo "-- reading directory contents with current handle --\n";
61 *** Testing dir() : operate on previously opened directory ***
74 -- reading directory contents with previous handle --
[all …]
H A Dchdir_error2-win32-mb.phpt2 Test chdir() function : error conditions - Non-existent directory
11 /* Prototype : bool chdir(string $directory)
12 * Description: Change the current directory
17 * Pass a directory that does not exist as $directory to chdir() to test behaviour
22 $directory = __FILE__ . '/私はガラスを食べられますidonotexist';
24 var_dump(chdir($directory));
H A Dscandir_basic.phpt19 // set up directory
20 $directory = dirname(__FILE__) . '/scandir_basic';
21 mkdir($directory);
22 create_files($directory, 3);
25 var_dump(scandir($directory));
30 var_dump(scandir($directory, $sorting_order, $context));
32 delete_files($directory, 3);
37 $directory = dirname(__FILE__) . '/scandir_basic';
38 rmdir($directory);
H A Dgetcwd_basic-win32-mb.phpt12 * Description: Gets the current directory
22 //create temporary directory for test, removed in CLEAN section
23 $directory = dirname(__FILE__) . "/私はガラスを食べられますgetcwd_basic";
24 mkdir($directory);
27 chdir($directory);
33 $directory = dirname(__FILE__) . "/私はガラスを食べられますgetcwd_basic";
34 rmdir($directory);
H A Dscandir_basic-win32-mb.phpt25 // set up directory
26 $directory = dirname(__FILE__) . '/私はガラスを食べられますscandir_basic';
27 mkdir($directory);
28 create_files($directory, 3, "numeric", 0755, 1, "w", "私はガラスを食べられますfile");
31 var_dump(scandir($directory));
36 var_dump(scandir($directory, $sorting_order, $context));
38 delete_files($directory, 3, "私はガラスを食べられますfile");
43 $directory = dirname(__FILE__) . '/私はガラスを食べられますscandir_basic';
44 rmdir($directory);
/PHP-7.3/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-7.3/ext/phar/tests/
H A Dmkdir.phpt35 Warning: mkdir(): phar error: cannot create directory "phar://", no phar archive specified in %smkd…
37 Warning: mkdir(): phar error: cannot create directory "" in phar "foo.phar", phar error: invalid pa…
39 …): phar error: cannot create directory "a" in phar "%smkdir.phar.php", phar error: path "a" exists…
41 Warning: rmdir(): phar error: cannot remove directory "phar://", no phar archive specified, or phar…
43 Warning: rmdir(): phar error: cannot remove directory "" in phar "foo.phar", directory does not exi…
45 …): phar error: cannot remove directory "a" in phar "%smkdir.phar.php", phar error: path "a" exists…
46 Cannot create a directory in magic ".phar" directory
H A Ddir.phpt37 file_put_contents('phar://' . dirname(__FILE__) . '/ok.phar/sub/directory.txt', 'hi');
39 mkdir('phar://' . dirname(__FILE__) . '/ok.phar/sub/directory.txt');
69 Warning: mkdir(): phar error: cannot create directory "phar://%sdir.phar.php/fails", write operatio…
71 Warning: mkdir(): phar error: cannot create directory "fails" in phar "%sok.phar", directory alread…
73 Warning: mkdir(): phar error: cannot create directory "sub" in phar "%sok.phar", directory already …
75 …r: cannot create directory "sub/directory.txt" in phar "%sok.phar", phar error: path "sub/director…
79 Warning: mkdir(): phar error: cannot create directory "phar://", no phar archive specified in %sdir…
83 Warning: rmdir(): phar error: cannot remove directory "hi" in phar "%sunknown.phar", directory does…
85 Warning: rmdir(): phar error: cannot rmdir directory "phar://%sdir.phar.php/another/dir", write ope…
87 Warning: rmdir(): phar error: cannot remove directory "" in phar "%sdir.phar.php", directory does n…
[all …]

Completed in 63 milliseconds

12345678910>>...23