Home
last modified time | relevance | path

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

123

/PHP-7.1/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.1/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.1/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_max_file_size.phpt19 Content-Disposition: form-data; name="file2"; filename="file2.txt"
20 Content-Type: text/plain-file2
55 [%u|b%"file2"]=>
58 %string|unicode%(9) "file2.txt"
H A Drfc1867_post_max_filesize.phpt15 Content-Disposition: form-data; name="file2"; filename="file2.txt"
16 Content-Type: text/plain-file2
51 [%u|b%"file2"]=>
54 %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 %unicode|string%(9) "file2.txt"
48 %unicode|string%(16) "text/plain-file2"
/PHP-7.1/ext/session/tests/
H A Dbug61470.phpt18 $file2 = $path . session_id();
19 var_dump(is_file($file2));
23 @unlink($file2);
H A Drfc1867.phpt41 Content-Disposition: form-data; name="file2"; filename="file2.txt"
71 [%u|b%"file2"]=>
74 %string|unicode%(9) "file2.txt"
116 %unicode|string%(5) "file2"
118 %unicode|string%(9) "file2.txt"
H A Drfc1867_inter.phpt45 Content-Disposition: form-data; name="file2"; filename="file2.txt"
74 [%u|b%"file2"]=>
77 %string|unicode%(9) "file2.txt"
119 %unicode|string%(5) "file2"
121 %unicode|string%(9) "file2.txt"
H A Drfc1867_sid_cookie.phpt40 Content-Disposition: form-data; name="file2"; filename="file2.txt"
70 [%u|b%"file2"]=>
73 %string|unicode%(9) "file2.txt"
115 %unicode|string%(5) "file2"
117 %unicode|string%(9) "file2.txt"
H A Drfc1867_sid_get.phpt38 Content-Disposition: form-data; name="file2"; filename="file2.txt"
68 [%u|b%"file2"]=>
71 %string|unicode%(9) "file2.txt"
113 %unicode|string%(5) "file2"
115 %unicode|string%(9) "file2.txt"
H A Drfc1867_sid_get_2.phpt40 Content-Disposition: form-data; name="file2"; filename="file2.txt"
70 [%u|b%"file2"]=>
73 %string|unicode%(9) "file2.txt"
115 %unicode|string%(5) "file2"
117 %unicode|string%(9) "file2.txt"
H A Drfc1867_sid_only_cookie.phpt40 Content-Disposition: form-data; name="file2"; filename="file2.txt"
70 [%u|b%"file2"]=>
73 %string|unicode%(9) "file2.txt"
115 %unicode|string%(5) "file2"
117 %unicode|string%(9) "file2.txt"
H A Drfc1867_sid_post.phpt36 Content-Disposition: form-data; name="file2"; filename="file2.txt"
66 [%u|b%"file2"]=>
69 %string|unicode%(9) "file2.txt"
111 %unicode|string%(5) "file2"
113 %unicode|string%(9) "file2.txt"
H A Drfc1867_disabled.phpt36 Content-Disposition: form-data; name="file2"; filename="file2.txt"
64 [%u|b%"file2"]=>
67 %string|unicode%(9) "file2.txt"
H A Drfc1867_disabled_2.phpt36 Content-Disposition: form-data; name="file2"; filename="file2.txt"
64 [%u|b%"file2"]=>
67 %string|unicode%(9) "file2.txt"
H A Drfc1867_no_name.phpt36 Content-Disposition: form-data; name="file2"; filename="file2.txt"
64 [%u|b%"file2"]=>
67 %string|unicode%(9) "file2.txt"
H A Drfc1867_cleanup.phpt41 Content-Disposition: form-data; name="file2"; filename="file2.txt"
71 [%u|b%"file2"]=>
74 %string|unicode%(9) "file2.txt"
H A Drfc1867_sid_only_cookie_2.phpt37 Content-Disposition: form-data; name="file2"; filename="file2.txt"
67 [%u|b%"file2"]=>
70 %string|unicode%(9) "file2.txt"
/PHP-7.1/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.1/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.phpt16 unlink(dirname(__FILE__) . '/copyonwrite6/file2');
23 ["file2"]=>
27 phar://%scopyonwrite6.phar.php%cfile2 file2
/PHP-7.1/ext/phar/tests/
H A Dinclude_path.phpt20 include 'file2.php';
31 Warning: include(file2.php): failed to open stream: No such file or directory in %sinclude_path.php…
33 Warning: include(): Failed opening 'file2.php' for inclusion (include_path='%sphar://%stempmanifest…

Completed in 25 milliseconds

123