Home
last modified time | relevance | path

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

/PHP-8.2/ext/zlib/tests/
H A Dgzcompress_variation1.phpt2 Test gzcompress() function : variation
9 echo "*** Testing gzcompress() : variation ***\n";
12 $output = gzcompress($data);
14 var_dump(strlen(gzcompress($output)));
18 *** Testing gzcompress() : variation ***
H A Dgzcompress_error1.phpt2 Test gzcompress() function : error conditions
11 echo "*** Testing gzcompress() : error conditions ***\n";
17 var_dump(gzcompress($data, $bad_level));
27 var_dump(gzcompress($data, $level, $encoding));
34 *** Testing gzcompress() : error conditions ***
37 gzcompress(): Argument #2 ($level) must be between -1 and 9
40 gzcompress(): Argument #3 ($encoding) must be one of ZLIB_ENCODING_RAW, ZLIB_ENCODING_GZIP, or ZLIB…
H A D005.phpt2 gzcompress()/gzuncompress() and invalid params
9 var_dump(gzcompress("", 1000));
14 var_dump(gzcompress("", -1));
15 var_dump(gzcompress(""));
16 var_dump(gzcompress("", 9));
22 var_dump($data1 = gzcompress($string));
23 var_dump($data2 = gzcompress($string, 9));
47 gzcompress(): Argument #2 ($level) must be between -1 and 9
H A Dgzcompress_basic1.phpt2 Test gzcompress() function : basic functionality
15 echo "*** Testing gzcompress() : basic functionality ***\n";
22 // Calling gzcompress() with all possible arguments
27 $output = gzcompress($data, $i);
34 $output = gzcompress($smallstring, $i);
38 // Calling gzcompress() with mandatory arguments
40 $output = gzcompress($smallstring);
45 *** Testing gzcompress() : basic functionality ***
H A D002.phpt2 gzcompress()/gzuncompress()
8 $packed=gzcompress($original);
15 $packed=gzcompress($original, 9);
H A D006.phpt9 var_dump(gzcompress("", 1000));
45 gzcompress(): Argument #2 ($level) must be between -1 and 9
H A Dgzinflate_error1.phpt14 $compressed = gzcompress($data);
H A Dgzuncompress_basic1.phpt13 $compressed = gzcompress($data);
H A Dbug_34821.phpt25 var_dump($s === gzuncompress(gzcompress($s)));
H A Dgzuncompress_error1.phpt12 $compressed = gzcompress($data);
H A Dbug60761.phpt16 // gzcompress on CLI or CGI
/PHP-8.2/ext/standard/tests/filters/
H A Dgh13264.phpt13 fwrite($stream, gzcompress($content));
/PHP-8.2/ext/soap/tests/bugs/
H A Dbug47925.phpt36 test(gzcompress($plain_response), "deflate");
/PHP-8.2/ext/zlib/
H A Dzlib_arginfo.h145 ZEND_FUNCTION(gzcompress);
177 ZEND_FE(gzcompress, arginfo_gzcompress)
H A Dzlib.stub.php195 function gzcompress(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_DEFLATE): string|f… function
H A Dzlib.c776 PHP_ZLIB_ENCODE_FUNC(gzcompress, PHP_ZLIB_ENCODING_DEFLATE);
/PHP-8.2/ext/phar/tests/zip/files/
H A Dcorrupt_zipmaker.php.inc261 $data = gzcompress($data);

Completed in 15 milliseconds