Home
last modified time | relevance | path

Searched refs:gzdeflate (Results 1 – 13 of 13) sorted by relevance

/PHP-8.0/ext/zlib/tests/
H A Dgzdeflate_variation1.phpt2 Test gzdeflate() function : variation
13 echo "*** Testing gzdeflate() : variation ***\n";
18 $output = gzdeflate($data);
20 var_dump(md5(gzdeflate($output)));
24 *** Testing gzdeflate() : variation ***
H A Dgzdeflate_error1.phpt2 Test gzdeflate() function : error conditions
15 echo "*** Testing gzdeflate() : error conditions ***\n";
22 var_dump(gzdeflate($data, $bad_level));
31 var_dump(gzdeflate($data, $level, $bad_encoding));
38 *** Testing gzdeflate() : error conditions ***
41 gzdeflate(): Argument #2 ($level) must be between -1 and 9
44 gzdeflate(): Argument #3 ($encoding) must be one of ZLIB_ENCODING_RAW, ZLIB_ENCODING_GZIP, or ZLIB_…
H A Dgzdeflate_basic1.phpt2 Test gzdeflate() function : basic functionality
17 echo "*** Testing gzdeflate() : basic functionality ***\n";
24 // Calling gzdeflate() with all possible arguments
29 $output = gzdeflate($data, $i);
37 $output = gzdeflate($smallstring, $i);
42 // Calling gzdeflate() with just mandatory arguments
44 var_dump( bin2hex(gzdeflate($smallstring) ));
48 *** Testing gzdeflate() : basic functionality ***
H A D001.phpt2 gzdeflate()/gzinflate()
8 $packed=gzdeflate($original);
15 $packed=gzdeflate($original, 9);
21 $packed=gzdeflate($original);
H A D006.phpt2 gzdeflate()/gzinflate() and invalid params
14 var_dump(gzdeflate("", -1));
16 var_dump(gzdeflate(""));
17 var_dump(gzdeflate("", 9));
23 var_dump($data1 = gzdeflate($string));
24 var_dump($data2 = gzdeflate($string, 9));
H A Dbug61287.phpt16 $deflated = gzdeflate($serialized, 9);
H A Dgzinflate-bug42663.phpt12 $deflated = gzdeflate($string,9);
H A Dgzinflate_length.phpt8 $packed=gzdeflate($original);
H A Dbug_34821.phpt24 var_dump($s === gzinflate(gzdeflate($s)));
/PHP-8.0/tests/basic/
H A Dreq44164.phpt5 if (!function_exists('gzdeflate'))
/PHP-8.0/ext/zlib/
H A Dzlib_arginfo.h143 ZEND_FUNCTION(gzdeflate);
175 ZEND_FE(gzdeflate, arginfo_gzdeflate)
H A Dzlib.stub.php28 function gzdeflate(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_RAW): string|false … function
H A Dzlib.c768 PHP_ZLIB_ENCODE_FUNC(gzdeflate, PHP_ZLIB_ENCODING_RAW);

Completed in 30 milliseconds