Home
last modified time | relevance | path

Searched refs:file2 (Results 1 – 25 of 65) sorted by relevance

123

/PHP-7.2/ext/standard/tests/file/
H A Dbug44805.phpt13 $file2 = $dirname . DIRECTORY_SEPARATOR . "file2.txt";
16 file_put_contents($file2, "this is file 2");
18 rename($file1, $file2);
21 readfile($file2);
25 if (file_exists($file2)) {
26 unlink($file2);
H A Dfiletype_variation.phpt23 $file2 = $file_path."/filetype2_variation.tmp";
29 fclose( fopen($file2, "w") );
33 print( filetype($file2) )."\n";
41 symlink( $file2, $link2);
47 unlink($file2);
H A Dfileinode_variation.phpt19 $file2 = $file_path."/fileinode2_variation.tmp";
27 fclose( fopen( $file2, "w" ) );
30 print( fileinode( $file2) )."\n";
41 symlink( $file2, $link2); // Creating a soft link
42 print( fileinode( $file2) )."\n";
57 unlink( $file2);
/PHP-7.2/tests/basic/
H A Drfc1867_anonymous_upload.phpt15 Content-Disposition: form-data; filename="file2.txt"
16 Content-Type: text/plain-file2
43 %string|unicode%(9) "file2.txt"
45 %string|unicode%(16) "text/plain-file2"
H A Drfc1867_post_max_filesize.phpt15 Content-Disposition: form-data; name="file2"; filename="file2.txt"
16 Content-Type: text/plain-file2
51 ["file2"]=>
54 %string|unicode%(9) "file2.txt"
H A Drfc1867_max_file_size.phpt19 Content-Disposition: form-data; name="file2"; filename="file2.txt"
20 Content-Type: text/plain-file2
55 ["file2"]=>
58 %string|unicode%(9) "file2.txt"
H A Drfc1867_array_upload.phpt15 Content-Disposition: form-data; name="file[2]"; filename="file2.txt"
16 Content-Type: text/plain-file2
39 string(9) "file2.txt"
48 string(16) "text/plain-file2"
/PHP-7.2/ext/phar/tests/tar/
H A Dbug71317-duplicate-filename.phpt17 $tar->addFile('file2.txt', 'file2');
21 $tar->addFile('file2.txt', 'file2a');
30 $fileContent = file_get_contents($testDirectory . '/file2.txt');
33 …throw new Exception(sprintf('Contents of file2.txt ("%s") is invalid, expected "%s"', $fileContent…
/PHP-7.2/ext/session/tests/
H A Drfc1867_sid_get.phpt38 Content-Disposition: form-data; name="file2"; filename="file2.txt"
68 ["file2"]=>
71 %string|unicode%(9) "file2.txt"
113 string(5) "file2"
115 string(9) "file2.txt"
H A Drfc1867_sid_post.phpt36 Content-Disposition: form-data; name="file2"; filename="file2.txt"
66 ["file2"]=>
69 %string|unicode%(9) "file2.txt"
111 string(5) "file2"
113 string(9) "file2.txt"
H A Dbug61470.phpt18 $file2 = $path . session_id();
19 var_dump(is_file($file2));
23 @unlink($file2);
H A Drfc1867_sid_get_2.phpt40 Content-Disposition: form-data; name="file2"; filename="file2.txt"
70 ["file2"]=>
73 %string|unicode%(9) "file2.txt"
115 string(5) "file2"
117 string(9) "file2.txt"
H A Drfc1867_sid_only_cookie.phpt40 Content-Disposition: form-data; name="file2"; filename="file2.txt"
70 ["file2"]=>
73 %string|unicode%(9) "file2.txt"
115 string(5) "file2"
117 string(9) "file2.txt"
H A Drfc1867.phpt41 Content-Disposition: form-data; name="file2"; filename="file2.txt"
71 ["file2"]=>
74 %string|unicode%(9) "file2.txt"
116 string(5) "file2"
118 string(9) "file2.txt"
H A Drfc1867_inter.phpt45 Content-Disposition: form-data; name="file2"; filename="file2.txt"
74 ["file2"]=>
77 %string|unicode%(9) "file2.txt"
119 string(5) "file2"
121 string(9) "file2.txt"
H A Drfc1867_sid_cookie.phpt40 Content-Disposition: form-data; name="file2"; filename="file2.txt"
70 ["file2"]=>
73 %string|unicode%(9) "file2.txt"
115 string(5) "file2"
117 string(9) "file2.txt"
H A Drfc1867_disabled.phpt36 Content-Disposition: form-data; name="file2"; filename="file2.txt"
64 ["file2"]=>
67 %string|unicode%(9) "file2.txt"
H A Drfc1867_disabled_2.phpt36 Content-Disposition: form-data; name="file2"; filename="file2.txt"
64 ["file2"]=>
67 %string|unicode%(9) "file2.txt"
H A Drfc1867_no_name.phpt36 Content-Disposition: form-data; name="file2"; filename="file2.txt"
64 ["file2"]=>
67 %string|unicode%(9) "file2.txt"
H A Drfc1867_sid_only_cookie_2.phpt37 Content-Disposition: form-data; name="file2"; filename="file2.txt"
67 ["file2"]=>
70 %string|unicode%(9) "file2.txt"
H A Drfc1867_cleanup.phpt41 Content-Disposition: form-data; name="file2"; filename="file2.txt"
71 ["file2"]=>
74 %string|unicode%(9) "file2.txt"
H A Drfc1867_sid_invalid.phpt35 Content-Disposition: form-data; name="file2"; filename="file2.txt"
78 ["file2"]=>
81 %string|unicode%(9) "file2.txt"
123 string(5) "file2"
125 string(9) "file2.txt"
/PHP-7.2/ext/opcache/tests/
H A Drevalidate_path_01.phpt17 $file2 = "$dir2/index.php";
23 @file_put_contents($file2, "TEST 2\n");
24 while (filemtime($file1) != filemtime($file2)) {
26 touch($file2);
62 $file2 = "$dir2/index.php";
71 @unlink($file2);
/PHP-7.2/ext/phar/tests/cache_list/
H A Dcopyonwrite5.phar.phpt14 unlink(dirname(__FILE__) . '/copyonwrite5/file2');
21 ["file2"]=>
25 phar://%scopyonwrite5.phar.php%cfile2 file2
H A Dcopyonwrite6.phar.phpt15 unlink(dirname(__FILE__) . '/copyonwrite6/file2');
22 ["file2"]=>
26 phar://%scopyonwrite6.phar.php%cfile2 file2

Completed in 34 milliseconds

123