Home
last modified time | relevance | path

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

/php-src/ext/zlib/tests/
H A Dgzdeflate_variation1.phpt2 Test gzdeflate() function : variation
9 echo "*** Testing gzdeflate() : variation ***\n";
14 $output = gzdeflate($data);
16 var_dump(strlen(gzdeflate($output)));
20 *** Testing gzdeflate() : variation ***
H A Dgzdeflate_error1.phpt2 Test gzdeflate() function : error conditions
11 echo "*** Testing gzdeflate() : error conditions ***\n";
18 var_dump(gzdeflate($data, $bad_level));
27 var_dump(gzdeflate($data, $level, $bad_encoding));
34 *** Testing gzdeflate() : error conditions ***
37 gzdeflate(): Argument #2 ($level) must be between -1 and 9
40 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
13 echo "*** Testing gzdeflate() : basic functionality ***\n";
20 // Calling gzdeflate() with all possible arguments
25 $output = gzdeflate($data, $i);
32 $output = gzdeflate($smallstring, $i);
36 // Calling gzdeflate() with just mandatory arguments
38 $output = gzdeflate($smallstring);
43 *** 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_length.phpt8 $packed=gzdeflate($original);
H A Dgzinflate-bug42663.phpt12 $deflated = gzdeflate($string,9);
H A Dbug_34821.phpt24 var_dump($s === gzinflate(gzdeflate($s)));
/php-src/ext/zlib/
H A Dzlib_arginfo.h142 ZEND_FUNCTION(gzdeflate);
173 ZEND_FE(gzdeflate, arginfo_gzdeflate)
H A Dzlib.stub.php189 function gzdeflate(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_RAW): string|false … function
H A Dzlib.c765 PHP_ZLIB_ENCODE_FUNC(gzdeflate, PHP_ZLIB_ENCODING_RAW);

Completed in 17 milliseconds