Home
last modified time | relevance | path

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

/PHP-8.0/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
12 * Test error cases for gzencode
15 echo "*** Testing gzencode() : error conditions ***\n";
24 var_dump(gzencode($data, $bad_level));
32 var_dump(gzencode($data, $level, $bad_mode));
39 *** Testing gzencode() : error conditions ***
42 gzencode(): Argument #2 ($level) must be between -1 and 9
45 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
12 * Test basic function of gzencode
17 echo "*** Testing gzencode() : basic functionality ***\n";
24 // Calling gzencode() with various compression levels
29 $output = gzencode($data, $i);
40 $output = gzencode($smallstring, $i);
48 // Calling gzencode() with mandatory arguments
50 var_dump(bin2hex(gzencode($smallstring)));
52 echo "\n-- Testing gzencode with mode specified --\n";
57 *** Testing gzencode() : basic functionality ***
[all …]
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-win32.phpt2 Test gzencode() function : variation
26 echo "*** Testing gzencode() : variation ***\n";
29 $output = gzencode(gzencode($data));
35 *** 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.phpt14 $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.0/ext/standard/tests/filters/
H A Dfilter_errors_zlib_inflate.phpt8 filter_errors_test('zlib.inflate', gzencode('42'));
/PHP-8.0/ext/zlib/
H A Dzlib_arginfo.h144 ZEND_FUNCTION(gzencode);
176 ZEND_FE(gzencode, arginfo_gzencode)
H A Dzlib.stub.php30 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.0/ext/soap/tests/
H A Dbug73037.phpt83 $data = gzencode($data);
/PHP-8.0/
H A Drun-tests.php2471 $post = gzencode($post, 9, FORCE_GZIP);

Completed in 27 milliseconds