Home
last modified time | relevance | path

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

123

/PHP-7.4/ext/zlib/tests/
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 …]
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 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 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_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_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_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 Dgzreadgzwrite.phpt2 gzopen(), gzread(), gzwrite()
11 $fp = gzopen($filename, "wb");
17 $fp = gzopen($filename, "rb");
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 Dgzwrite_error2.phpt13 $h = gzopen($filename, 'w');
19 $h = gzopen($filename, 'r');
H A Dgzrewind_variation1.phpt12 $h = gzopen($f, 'w');
18 $h = gzopen($f, 'r');
H A Dgzwrite_basic.phpt13 $h = gzopen($filename, 'w');
20 $h = gzopen($filename, 'r');
H A Dgzputs_basic.phpt13 $h = gzopen($filename, 'w');
20 $h = gzopen($filename, 'r');
H A Dzlib_scheme_copy_basic.phpt18 $h = gzopen($inputFileName, 'r');
22 $h = gzopen($outputFileName, 'r');
H A Dgzread_variation1.phpt13 $h = gzopen($filename, 'w');
22 $h = gzopen($filename, 'r');
H A Dzlib_wrapper_fflush_basic.phpt13 $h = gzopen($filename, 'w');
22 $h = gzopen($filename, 'r');
H A Dzlib_wrapper_ftruncate_basic.phpt15 $h = gzopen($f2, "r");
20 $h = gzopen($f2, "w");
H A Dgzseek_variation1.phpt12 $h = gzopen($f, 'w');
21 $h = gzopen($f, 'r');
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 Dreadgzfile_variation15.phpt32 $h = gzopen($secondFile, "w");
42 $h = gzopen($firstFile, "w");
52 $h = gzopen($filename, "w");
70 $h = gzopen($scriptFile, "w");
H A Dgzclose_basic.phpt15 $h = gzopen($f, 'r');
22 $h = gzopen($f, 'r');
H A Dgzreadgzwriteplain.phpt2 gzopen(), gzread(), gzwrite() for non-compressed data
17 $fp = gzopen($filename, "rb");
H A Dgzseek_basic2.phpt12 $h = gzopen($f, 'w');
25 $h = gzopen($f, 'r');
H A Dgzseek_variation5.phpt12 $h = gzopen($f, 'w');
25 $h = gzopen($f, 'r');

Completed in 37 milliseconds

123