Home
last modified time | relevance | path

Searched refs:gzopen (Results 1 – 25 of 63) sorted by path

123

/PHP-7.4/ext/phar/tests/cache_list/files/
H A Dphar_test.inc65 $fp = gzopen($fname, 'w');
/PHP-7.4/ext/phar/tests/files/
H A Dphar_test.inc65 $fp = gzopen($fname, 'w');
/PHP-7.4/ext/phar/tests/tar/files/
H A Dcorrupt_tarmaker.php.inc26 if ($compress === 'zlib' && !function_exists('gzopen')) {
139 $this->tmp = gzopen($this->path, 'wb');
H A Dmake.dangerous.tar.php.inc27 if ($compress === 'zlib' && !function_exists('gzopen')) {
132 $this->tmp = gzopen($this->path, 'wb');
H A Dtarmaker.php.inc26 if ($compress === 'zlib' && !function_exists('gzopen')) {
131 $this->tmp = gzopen($this->path, 'wb');
/PHP-7.4/ext/zlib/
H A Dphp_zlib.def32 gzopen
/PHP-7.4/ext/zlib/tests/
H A Dbug61139.phpt2 Bug #61139 (gzopen leaks when specifying invalid mode)
12 gzopen('someFile', 'c');
18 Warning: gzopen(): gzopen failed in %s on line %d
H A Dgzclose_basic.phpt15 $h = gzopen($f, 'r');
22 $h = gzopen($f, 'r');
H A Dgzeof_basic.phpt17 $h = gzopen($f, 'r');
24 $h = gzopen($f, 'r');
H A Dgzeof_variation1.phpt13 $h = gzopen($filename, 'w');
H A Dgzfile_basic.phpt17 $h = gzopen($filename, 'w');
H A Dgzfile_variation15.phpt32 $h = gzopen($secondFile, "w");
41 $h = gzopen($firstFile, "w");
50 $h = gzopen($filename, "w");
66 $h = gzopen($scriptFile, "w");
H A Dgzfilegzreadfile.phpt30 $fp = gzopen($filename, "wb");
H A Dgzgetc_basic.phpt20 $h = gzopen($f, 'r');
H A Dgzgetc_basic_1.phpt20 $h = gzopen($f, 'r');
H A Dgzgets_basic.phpt16 $h = gzopen($f, 'r');
H A Dgzgetss.phpt11 $handle = gzopen(__DIR__ . '/gzgetss.gz', 'r');
H A Dgzopen_basic.phpt2 Test gzopen() function : basic functionality
11 /* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
17 echo "*** Testing gzopen() : basic functionality ***\n";
25 // Calling gzopen() with all possible arguments
26 $h = gzopen($filename, $mode, $use_include_path);
30 // Calling gzopen() with mandatory arguments
31 $h = gzopen($filename, $mode);
38 *** Testing gzopen() : basic functionality ***
H A Dgzopen_basic2.phpt2 Test gzopen() function : basic functionality for writing
11 /* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
17 echo "*** Testing gzopen() : basic functionality ***\n";
27 $h = gzopen($filename, $mode);
31 $h = gzopen($filename, 'r');
45 *** Testing gzopen() : basic functionality ***
50 Warning: gzopen(): cannot open a zlib stream for reading and writing at the same time! in %s on lin…
H A Dgzopen_variation4.phpt17 echo "*** Testing gzopen() : usage variation ***\n";
44 $h = gzopen($secondFile, "w");
50 $h = gzopen($filename, $mode, true);
56 $h = gzopen($firstFile, "w");
61 $h = gzopen($filename, $mode, true);
67 $h = gzopen($filename, "w");
72 $h = gzopen($filename, $mode, true);
81 $h = gzopen($filename, $mode, true);
87 $h = gzopen($scriptFile, "w");
92 $h = gzopen($filename, $mode, true);
[all …]
H A Dgzopen_variation5.phpt2 Test gzopen() function : variation: use include path and stream context create a file, relative path
11 /* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
19 echo "*** Testing gzopen() : variation ***\n";
37 $h = gzopen($tmpfile, "w", true);
42 $h = @gzopen($tmpfile, "r");
52 $h = @gzopen('dir1/'.$tmpfile, "r");
65 *** Testing gzopen() : variation ***
H A Dgzopen_variation6.phpt2 Test gzopen() function : variation: relative/absolute file
11 /* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
17 echo "*** Testing gzopen() : variation ***\n";
21 $h = gzopen($absfile, "w");
25 $h = gzopen($relfile, "w");
29 $h = gzopen($absfile, "r");
34 $h = gzopen($relfile, "r");
44 *** Testing gzopen() : variation ***
H A Dgzopen_variation7.phpt2 Test function gzopen() by calling it twice on the same file and not closing one of them at the end …
13 $h1 = gzopen($f, 'r');
14 $h2 = gzopen($f, 'r');
H A Dgzopen_variation8.phpt2 Test gzopen() function : variation: opening a plain file
11 /* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
17 echo "*** Testing gzopen() : variation ***\n";
30 $h = gzopen($file, 'r');
38 *** Testing gzopen() : variation ***
H A Dgzopen_variation9.phpt2 Test gzopen() function : variation: try opening with possibly invalid modes
11 /* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
17 echo "*** Testing gzopen() : variation ***\n";
25 $h = gzopen($file, $mode);
26 echo "gzopen=";
36 *** Testing gzopen() : variation ***
40 gzopen=bool(false)
43 gzopen=resource(%d) of type (stream)
48 gzopen=bool(false)
52 Warning: gzopen(%s/004.txt.gz): failed to open stream: %s in %s on line %d
[all …]

Completed in 43 milliseconds

123