Home
last modified time | relevance | path

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

/php-src/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 Dgzcompress_basic1.phpt2 Test gzcompress() function : basic functionality
13 echo "*** Testing gzcompress() : basic functionality ***\n";
20 // Calling gzcompress() with all possible arguments
25 $output = gzcompress($data, $i);
32 $output = gzcompress($smallstring, $i);
36 // Calling gzcompress() with mandatory arguments
38 $output = gzcompress($smallstring);
43 *** Testing gzcompress() : basic functionality ***
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 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-src/ext/standard/tests/filters/
H A Dgh13264.phpt13 fwrite($stream, gzcompress($content));
/php-src/ext/soap/tests/bugs/
H A Dbug47925.phpt36 test(gzcompress($plain_response), "deflate");
/php-src/ext/zlib/
H A Dzlib_arginfo.h144 ZEND_FUNCTION(gzcompress);
175 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.c773 PHP_ZLIB_ENCODE_FUNC(gzcompress, PHP_ZLIB_ENCODING_DEFLATE);
/php-src/ext/phar/tests/zip/files/
H A Dcorrupt_zipmaker.php.inc261 $data = gzcompress($data);

Completed in 17 milliseconds