Home
last modified time | relevance | path

Searched refs:gzencode (Results 1 – 17 of 17) sorted by relevance

/PHP-8.2/ext/zlib/tests/
H A D007.phpt2 gzencode() and invalid params
9 var_dump(gzencode("", -10));
14 var_dump(gzencode("", 100));
19 var_dump(gzencode("", 1, 100));
24 var_dump(gzencode("", -1, ZLIB_ENCODING_GZIP));
25 var_dump(gzencode("", 9, ZLIB_ENCODING_DEFLATE));
33 var_dump(gzencode($string, 9, 3));
38 var_dump(gzencode($string, -1, ZLIB_ENCODING_GZIP));
39 var_dump(gzencode($string, 9, ZLIB_ENCODING_DEFLATE));
43 gzencode(): Argument #2 ($level) must be between -1 and 9
[all …]
H A Dgzencode_error1.phpt2 Test gzencode() function : error conditions
8 * Test error cases for gzencode
11 echo "*** Testing gzencode() : error conditions ***\n";
20 var_dump(gzencode($data, $bad_level));
28 var_dump(gzencode($data, $level, $bad_mode));
35 *** Testing gzencode() : error conditions ***
38 gzencode(): Argument #2 ($level) must be between -1 and 9
41 gzencode(): Argument #3 ($encoding) must be one of ZLIB_ENCODING_RAW, ZLIB_ENCODING_GZIP, or ZLIB_E…
H A Dgzencode_basic1.phpt2 Test gzencode() function : basic functionality
10 * Test basic function of gzencode
15 echo "*** Testing gzencode() : basic functionality ***\n";
22 // Calling gzencode() with various compression levels
27 $output = gzencode($data, $i);
34 $output = gzencode($smallstring, $i);
38 // Calling gzencode() with mandatory arguments
40 $output = gzencode($smallstring);
44 $outupt = gzencode($smallstring, -1, FORCE_GZIP);
48 *** Testing gzencode() : basic functionality ***
[all …]
H A Dgzencode_variation1-win32.phpt2 Test gzencode() function : variation
16 echo "*** Testing gzencode() : variation ***\n";
19 $output = gzencode(gzencode($data));
25 *** Testing gzencode() : variation ***
H A Dgzencode_variation2-win32.phpt2 Test gzencode() function : variation - verify header contents with all encoding modes
21 echo "*** Testing gzencode() : variation ***\n";
26 var_dump(bin2hex(gzencode($data, -1)));
27 var_dump(bin2hex(gzencode($data, -1, FORCE_GZIP)));
28 var_dump(bin2hex(gzencode($data, -1, FORCE_DEFLATE)));
32 *** Testing gzencode() : variation ***
H A Dgzencode_variation2.phpt2 Test gzencode() function : variation - verify header contents with all encoding modes
20 echo "*** Testing gzencode() : variation ***\n";
25 var_dump(bin2hex(gzencode($data, -1)));
26 var_dump(bin2hex(gzencode($data, -1, FORCE_GZIP)));
27 var_dump(bin2hex(gzencode($data, -1, FORCE_DEFLATE)));
31 *** Testing gzencode() : variation ***
H A Dgzencode_variation1.phpt2 Test gzencode() function : variation
22 echo "*** Testing gzencode() : variation ***\n";
25 $output = gzencode($data);
26 var_dump(bin2hex(gzencode($output)));
30 *** Testing gzencode() : variation ***
H A D003.phpt2 gzencode()
8 $packed = gzencode($original);
H A Dinflate_init_reuse.phpt10 $compressed = gzencode($uncompressed);
H A Dbug_34821.phpt26 var_dump($s === gzinflate(substr(gzencode($s), 10, -8)));
H A Dbug71417.phpt11 $compressed = (string) gzencode($plain);
/PHP-8.2/ext/standard/tests/filters/
H A Dfilter_errors_zlib_inflate.phpt8 filter_errors_test('zlib.inflate', gzencode('42'));
/PHP-8.2/ext/soap/tests/bugs/
H A Dbug47925.phpt35 test(gzencode($plain_response), "gzip");
/PHP-8.2/ext/zlib/
H A Dzlib_arginfo.h144 ZEND_FUNCTION(gzencode);
176 ZEND_FE(gzencode, arginfo_gzencode)
H A Dzlib.stub.php192 function gzencode(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_GZIP): string|false … function
H A Dzlib.c772 PHP_ZLIB_ENCODE_FUNC(gzencode, PHP_ZLIB_ENCODING_GZIP);
/PHP-8.2/ext/soap/tests/
H A Dbug73037.phpt83 $data = gzencode($data);

Completed in 42 milliseconds