Home
last modified time | relevance | path

Searched refs:tmpfile (Results 1 – 25 of 37) sorted by relevance

12

/php-src/ext/standard/tests/file/
H A Dfile_put_contents_5gb.phpt33 $tmpfile = sys_get_temp_dir() . DIRECTORY_SEPARATOR . "test_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 . "test_file_put_contents_5gb.bin";
50 $result = file_put_contents($tmpfile, $large_string);
57 clearstatcache(true, $tmpfile);
58 if (file_exists($tmpfile)) {
59 unlink($tmpfile);
H A Dbug22414.phpt14 $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 Dfopen_variation7.phpt26 $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 Dfopen_variation9.phpt26 $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 Dfopen_variation12.phpt12 $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 Dfopen_variation16.phpt33 $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 Dfopen_variation17.phpt33 $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 Dfopen_variation13.phpt22 $tmpfile = 'fopen_variation13.tmp';
23 $absFile = getcwd().'/'.$tempDir.'/'.$tmpfile;
H A Dbug27619.phpt5 $fp = tmpfile();
/php-src/ext/zlib/tests/
H A Dgzopen_variation5.phpt26 $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/ext/zip/tests/
H A Doo_setcompression.phpt7 $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/build/
H A Dshtool444 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/standard/tests/streams/
H A Dgh9590-001.phpt18 $fds[] = @fopen(__DIR__ . "/GH-9590-001-tmpfile.$i", 'w');
38 @unlink(__DIR__ . "/GH-9590-001-tmpfile.$i");
H A Dgh9590-002.phpt18 $fds[] = @fopen(__DIR__ . "/GH-9590-002-tmpfile.$i", 'w');
40 @unlink(__DIR__ . "/GH-9590-002-tmpfile.$i");
H A Dbug78326.phpt7 $f = tmpfile();
H A Dstream_get_contents_001.phpt6 $tmp = tmpfile();
H A Dstream_get_contents_negative_length.phpt6 $tmp = tmpfile();
H A Dbug46147.phpt5 $fp = tmpfile();
H A Dbug46426.phpt6 $tmp = tmpfile();
H A Dbug48309.phpt6 $tmp = tmpfile();
H A Dstream_copy_to_stream_socket.phpt12 $tmp = tmpfile();
/php-src/ext/curl/tests/
H A Dbug62839.phpt9 $fd = tmpfile();
/php-src/ext/hash/tests/
H A Dhash_update_stream.phpt7 $fp = tmpfile();
H A Dhash_update_stream_basic_001.phpt17 $fp = tmpfile();
/php-src/ext/mysqli/tests/
H A Dgh9590.phpt25 $fds[] = @fopen(__DIR__ . "/GH-9590-tmpfile.$i", 'w');
67 @unlink(__DIR__ . "/GH-9590-tmpfile.$i");

Completed in 25 milliseconds

12