Searched refs:tmpfile (Results 1 – 25 of 37) sorted by relevance
12
/php-src/ext/standard/tests/file/ |
H A D | file_get_contents_file_put_contents_5gb.phpt | 33 $tmpfile = sys_get_temp_dir() . DIRECTORY_SEPARATOR . "file_get_contents_file_put_contents_5gb.bin"; 34 $tmpfileh = fopen($tmpfile, "wb"); 39 unlink($tmpfile); 40 if (disk_free_space(dirname($tmpfile)) < 10 * 1024 * 1024 * 1024) { 48 $tmpfile = sys_get_temp_dir() . DIRECTORY_SEPARATOR . "file_get_contents_file_put_contents_5gb.bin"; 52 $result = file_put_contents($tmpfile, $large_string); 61 $result_large_string = file_get_contents($tmpfile); 69 clearstatcache(true, $tmpfile); 70 if (file_exists($tmpfile)) { 71 unlink($tmpfile);
|
H A D | bug22414.phpt | 14 $tmpfile = tempnam(__DIR__, 'phpt'); 25 …scaped . $args . ' -r ' . escapeshellarg('passthru("'.$cmd.'");') . ' > '.escapeshellarg($tmpfile); 27 …scaped . $args . ' -r ' . "\"passthru('".addslashes($cmd)."');\"" . ' > '.escapeshellarg($tmpfile); 31 if (md5_file($php) == md5_file($tmpfile)) { 37 @unlink($tmpfile);
|
H A D | fopen_variation7.phpt | 26 $tmpfile = basename(__FILE__, ".php") . ".tmp"; 27 $h = fopen($tmpfile, "w", true); 32 $h = @fopen($tmpfile, "r"); 39 unlink($tmpfile); 42 $h = @fopen($dir1.'/'.$tmpfile, "r"); 49 unlink($dir1.'/'.$tmpfile);
|
H A D | fopen_variation9.phpt | 26 $tmpfile = basename(__FILE__, ".php") . ".tmp"; 27 $h = fopen($tmpfile, "w", true); 32 $h = @fopen($tmpfile, "r"); 39 unlink($tmpfile); 42 $h = @fopen('dir1/'.$tmpfile, "r"); 49 unlink('dir1/'.$tmpfile);
|
H A D | fopen_variation12.phpt | 12 $tmpfile = basename(__FILE__, ".php") . ".tmp"; 13 $h = fopen($tmpfile, "w", true); 18 $h = @fopen($tmpfile, "r"); 25 unlink($tmpfile); 29 $scriptDirFile = __DIR__.'/'.$tmpfile;
|
H A D | fopen_variation16.phpt | 33 $tmpfile = $extraDir.'/fopen_variation16.tmp'; 35 $h = fopen($tmpfile, "w+", true); 39 $h = @fopen($dir1.'/'.$tmpfile, "r"); 48 $h = fopen($tmpfile, "r", true); 57 unlink($tmpfile);
|
H A D | fopen_variation17.phpt | 33 $tmpfile = $extraDir . '/' . basename(__FILE__, ".php") . ".tmp"; 34 $h = fopen($tmpfile, "w+", true); 38 $h = @fopen($dir1.'/'.$tmpfile, "r"); 47 $h = fopen($tmpfile, "r", true); 56 unlink($tmpfile);
|
H A D | fopen_variation13.phpt | 22 $tmpfile = 'fopen_variation13.tmp'; 23 $absFile = getcwd().'/'.$tempDir.'/'.$tmpfile;
|
H A D | bug27619.phpt | 5 $fp = tmpfile();
|
/php-src/ext/zlib/tests/ |
H A D | gzopen_variation5.phpt | 26 $tmpfile = 'gzopen_variation5.tmp'; 27 $h = gzopen($tmpfile, "w", true); 32 $h = @gzopen($tmpfile, "r"); 39 unlink($tmpfile); 42 $h = @gzopen('dir1/'.$tmpfile, "r"); 49 unlink('dir1/'.$tmpfile);
|
/php-src/build/ |
H A D | shtool | 444 tmpfile="$tmpdir/shtool.tmp" 445 touch "$tmpfile" 1723 rm -f $tmpfile >/dev/null 2>&1 1724 touch $tmpfile 1747 rm -f $tmpfile >/dev/null 2>&1 1755 echo >>$tmpfile.c "Syntax Error" 1758 (eval "$cpp $tmpfile.c >/dev/null") 2>$tmpfile.out 1763 (eval "$cpp $tmpfile.c >/dev/null") 2>$tmpfile.out 1775 (eval "$cpp $tmpfile.c >/dev/null") 2>$tmpfile.out 1784 rm -f $tmpfile >/dev/null 2>&1 [all …]
|
/php-src/ext/zip/tests/ |
H A D | oo_setcompression.phpt | 7 $tmpfile = __DIR__ . '/oo_setcompression.zip'; 9 if (file_exists($tmpfile)) { 10 unlink($tmpfile); 15 if ($zip->open($tmpfile, ZipArchive::CREATE) !== TRUE) { 41 $zip = zip_open($tmpfile); 53 $tmpfile = __DIR__ . '/oo_setcompression.zip'; 54 unlink($tmpfile);
|
/php-src/ext/curl/tests/ |
H A D | bug62839.phpt | 9 $fd = tmpfile();
|
/php-src/ext/standard/tests/streams/ |
H A D | gh9590-001.phpt | 18 $fds[] = @fopen(__DIR__ . "/GH-9590-001-tmpfile.$i", 'w'); 38 @unlink(__DIR__ . "/GH-9590-001-tmpfile.$i");
|
H A D | gh9590-002.phpt | 18 $fds[] = @fopen(__DIR__ . "/GH-9590-002-tmpfile.$i", 'w'); 40 @unlink(__DIR__ . "/GH-9590-002-tmpfile.$i");
|
H A D | bug78326.phpt | 7 $f = tmpfile();
|
H A D | stream_get_contents_001.phpt | 6 $tmp = tmpfile();
|
H A D | stream_get_contents_negative_length.phpt | 6 $tmp = tmpfile();
|
H A D | bug46147.phpt | 5 $fp = tmpfile();
|
H A D | bug46426.phpt | 6 $tmp = tmpfile();
|
H A D | bug48309.phpt | 6 $tmp = tmpfile();
|
H A D | stream_copy_to_stream_socket.phpt | 12 $tmp = tmpfile();
|
/php-src/ext/hash/tests/ |
H A D | hash_update_stream.phpt | 7 $fp = tmpfile();
|
H A D | hash_update_stream_basic_001.phpt | 17 $fp = tmpfile();
|
/php-src/ext/mysqli/tests/ |
H A D | gh9590.phpt | 22 $fds[] = @fopen(__DIR__ . "/GH-9590-tmpfile.$i", 'w'); 64 @unlink(__DIR__ . "/GH-9590-tmpfile.$i");
|
Completed in 40 milliseconds
12