Home
last modified time | relevance | path

Searched refs:destination (Results 1 – 25 of 41) sorted by relevance

12

/PHP-8.2/ext/zip/tests/
H A Dbug81420.phpt2 Bug #81420 (ZipArchive::extractTo extracts outside of destination)
9 $destination = __DIR__ . "/bug81420";
10 mkdir($destination);
11 $zip->extractTo($destination);
12 var_dump(file_exists("$destination/nt1/zzr_noharm.php"));
16 $destination = __DIR__ . "/bug81420";
17 @unlink("$destination/nt1/zzr_noharm.php");
18 @rmdir("$destination/nt1");
19 @rmdir($destination);
/PHP-8.2/ext/standard/tests/file/
H A Dcopy_variation2.phpt21 /* array of destination file names */
71 echo "Size of destination file => ";
96 Size of destination file => int(1500)
103 Size of destination file => int(1500)
110 Size of destination file => int(1500)
117 Size of destination file => int(1500)
124 Size of destination file => int(1500)
131 Size of destination file => int(1500)
138 Size of destination file => int(1500)
145 Size of destination file => int(1500)
[all …]
H A Dcopy_variation2-win32-mb.phpt21 /* array of destination file names */
95 Size of destination file => int(1500)
102 Size of destination file => int(1500)
109 Size of destination file => int(1500)
116 Size of destination file => int(1500)
135 Size of destination file => int(1500)
142 Size of destination file => int(1500)
149 Size of destination file => int(1500)
162 Size of destination file => int(1500)
169 Size of destination file => int(1500)
[all …]
H A Dcopy_variation2-win32.phpt21 /* array of destination file names */
95 Size of destination file => int(1500)
102 Size of destination file => int(1500)
109 Size of destination file => int(1500)
116 Size of destination file => int(1500)
135 Size of destination file => int(1500)
142 Size of destination file => int(1500)
149 Size of destination file => int(1500)
162 Size of destination file => int(1500)
169 Size of destination file => int(1500)
[all …]
H A Dcopy_variation1.phpt16 /* array of destination file names */
56 echo "Size of destination file => ";
81 Size of destination file => int(1500)
88 Size of destination file => int(1500)
95 Size of destination file => int(1500)
102 Size of destination file => int(1500)
109 Size of destination file => int(1500)
116 Size of destination file => int(1500)
123 Size of destination file => int(1500)
130 Size of destination file => int(1500)
[all …]
H A Dcopy_variation4.phpt24 /* array of destination file names */
52 echo "Existence of destination file => ";
63 echo "Size of destination file => ";
89 Existence of destination file => bool(true)
92 Size of destination file => int(%d)
101 Existence of destination file => bool(true)
104 Size of destination file => int(%d)
116 Size of destination file => int(%d)
128 Size of destination file => int(%d)
138 Size of destination file => int(1500)
[all …]
H A Dcopy_variation3.phpt23 /* array of destination file names */
47 echo "Existence of destination file => ";
58 echo "Size of destination file => ";
80 Existence of destination file => bool(true)
83 Size of destination file => int(1500)
87 Existence of destination file => bool(true)
90 Size of destination file => int(1500)
94 Existence of destination file => bool(true)
97 Size of destination file => int(1500)
101 Existence of destination file => bool(true)
[all …]
H A Dcopy_variation5.phpt2 Test copy() function: usage variations - destination file names(case sensitive)
10 and the existence and size of destination files
20 /* array of destination file names */
43 echo "Existence of destination file => ";
54 echo "Size of destination file => ";
80 Existence of destination file => bool(true)
83 Size of destination file => int(1500)
87 Existence of destination file => bool(true)
90 Size of destination file => int(1500)
94 Existence of destination file => bool(true)
[all …]
H A Dcopy_variation16.phpt54 echo "Existence of destination file => ";
61 echo "Size of destination file => ";
85 Existence of destination file => bool(true)
87 Size of destination file => int(3500)
94 Size of destination file => int(3500)
101 Size of destination file => int(3500)
108 Size of destination file => int(3500)
115 Size of destination file => int(3500)
122 Size of destination file => int(3500)
129 Size of destination file => int(3500)
[all …]
H A Dcopy_variation6.phpt49 echo "Existence of destination file => ";
60 echo "Size of destination file => ";
83 Existence of destination file => bool(true)
86 Size of destination file => int(0)
93 Size of destination file => int(0)
100 Size of destination file => int(0)
107 Size of destination file => int(0)
114 Size of destination file => int(0)
121 Size of destination file => int(0)
128 Size of destination file => int(0)
[all …]
H A Dcopy_variation3-win32.phpt2 Test copy() function: usage variations - destination file names(white spaces)
13 and checking the existence and size of destination files
23 /* array of destination file names */
47 echo "Existence of destination file => ";
59 echo "Size of destination file => ";
81 Existence of destination file => bool(true)
84 Size of destination file => int(1500)
88 Existence of destination file => bool(true)
91 Size of destination file => int(1500)
97 Existence of destination file => bool(false)
[all …]
H A Dcopy_variation5-win32.phpt2 Test copy() function: usage variations - destination file names(case sensitive)
11 and the existence and size of destination files
21 /* array of destination file names */
44 echo "Existence of destination file => ";
55 echo "Size of destination file => ";
82 Existence of destination file => bool(true)
85 Size of destination file => int(1500)
89 Existence of destination file => bool(true)
92 Size of destination file => int(1500)
96 Existence of destination file => bool(true)
[all …]
H A Dcopy_variation6-win32.phpt49 echo "Existence of destination file => ";
61 echo "Size of destination file => ";
85 Existence of destination file => bool(true)
88 Size of destination file => int(0)
92 Existence of destination file => bool(true)
95 Size of destination file => int(0)
102 Size of destination file => int(0)
109 Size of destination file => int(0)
116 Size of destination file => int(0)
123 Size of destination file => int(0)
[all …]
H A Dcopy_variation16-win32.phpt54 echo "Existence of destination file => ";
62 echo "Size of destination file => ";
86 Existence of destination file => bool(true)
88 Size of destination file => int(3500)
93 Existence of destination file => bool(true)
95 Size of destination file => int(3500)
102 Size of destination file => int(3500)
109 Size of destination file => int(3500)
116 Size of destination file => int(3500)
123 Size of destination file => int(3500)
[all …]
H A Dcopy_variation11.phpt2 Test copy() function: usage variations - existing dir as destination
5 /* Test copy(): Trying to copy the file to a destination, where destination is an existing dir */
21 echo "Size of destination before copy operation => ";
22 var_dump( filesize($dir) ); //size of destination before copy
38 var_dump( filesize($dir) ); //size of destination after copy
50 Size of destination before copy operation => int(%d)
H A Dcopy_variation14.phpt5 /* Test copy(): Trying to create a copy of non-existing source in an existing destination
6 and an existing source in non-existing destination */
10 … Test copy() function: Trying to create a copy of non-existing source in existing destination ***";
19 …Test copy() function: Trying to create copy of an existing source in non-existing destination ***";
31 *** Test copy() function: Trying to create a copy of non-existing source in existing destination ***
36 *** Test copy() function: Trying to create copy of an existing source in non-existing destination *…
H A Dcopy_variation9.phpt2 Test copy() function: usage variations - destination file access perms
11 /* Test copy(): Trying to copy source file to destination file with and without write permissions */
15 echo "*** Test copy() function: destination with/without write permissions ***\n";
45 *** Test copy() function: destination with/without write permissions ***
H A Dcopy_basic.phpt5 echo "*** Testing copy() function: to copy file from source to destination --\n";
39 *** Testing copy() function: to copy file from source to destination --
H A Dbug65701.phpt2 Test for bug #65701: copy() doesn't work when destination filename is created by tempnam()
H A Dcopy_variation10.phpt5 /* Test copy(): Try copying source file to desntination file, where destination file name is identi…
/PHP-8.2/Zend/tests/
H A Dgh11138.phpt17 $destination = __DIR__ . '/gh11138.tmp';
18 var_dump(move_uploaded_file($_FILES['file']['tmp_name'], $destination));
19 echo file_get_contents($destination), "\n";
/PHP-8.2/ext/sockets/tests/
H A Dsocket_getsockname.phpt14 // Connect to destination address
H A Dsocket_getpeername.phpt14 // Connect to destination address
H A Dsocket_bind.phpt21 // Connect to destination address
/PHP-8.2/ext/phar/tests/
H A Dbug70019.phpt2 Bug #70019 Files extracted from archive may be placed outside of destination directory

Completed in 26 milliseconds

12