Searched refs:gzencode (Results 1 – 17 of 17) sorted by relevance
/php-src/ext/zlib/tests/ |
H A D | 007.phpt | 2 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 D | gzencode_error1.phpt | 2 Test gzencode() function : error conditions 8 * Test error cases for gzencode 11 echo "*** Testing gzencode() : error conditions ***\n"; 20 var_dump(gzencode($data, $bad_level)); 28 var_dump(gzencode($data, $level, $bad_mode)); 35 *** Testing gzencode() : error conditions *** 38 gzencode(): Argument #2 ($level) must be between -1 and 9 41 gzencode(): Argument #3 ($encoding) must be one of ZLIB_ENCODING_RAW, ZLIB_ENCODING_GZIP, or ZLIB_E…
|
H A D | gzencode_basic1.phpt | 2 Test gzencode() function : basic functionality 8 * Test basic function of gzencode 13 echo "*** Testing gzencode() : basic functionality ***\n"; 20 // Calling gzencode() with various compression levels 25 $output = gzencode($data, $i); 32 $output = gzencode($smallstring, $i); 36 // Calling gzencode() with mandatory arguments 38 $output = gzencode($smallstring); 42 $outupt = gzencode($smallstring, -1, FORCE_GZIP); 46 *** Testing gzencode() : basic functionality *** [all …]
|
H A D | gzencode_variation1-win32.phpt | 2 Test gzencode() function : variation 16 echo "*** Testing gzencode() : variation ***\n"; 19 $output = gzencode(gzencode($data)); 25 *** Testing gzencode() : variation ***
|
H A D | gzencode_variation2-win32.phpt | 2 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 D | gzencode_variation2.phpt | 2 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 D | gzencode_variation1.phpt | 2 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 D | 003.phpt | 2 gzencode() 8 $packed = gzencode($original);
|
H A D | inflate_init_reuse.phpt | 10 $compressed = gzencode($uncompressed);
|
H A D | bug_34821.phpt | 26 var_dump($s === gzinflate(substr(gzencode($s), 10, -8)));
|
H A D | bug71417.phpt | 11 $compressed = (string) gzencode($plain);
|
/php-src/ext/standard/tests/filters/ |
H A D | filter_errors_zlib_inflate.phpt | 8 filter_errors_test('zlib.inflate', gzencode('42'));
|
/php-src/ext/soap/tests/bugs/ |
H A D | bug47925.phpt | 35 test(gzencode($plain_response), "gzip");
|
H A D | bug73037.phpt | 83 $data = gzencode($data);
|
/php-src/ext/zlib/ |
H A D | zlib_arginfo.h | 143 ZEND_FUNCTION(gzencode); 174 ZEND_FE(gzencode, arginfo_gzencode)
|
H A D | zlib.stub.php | 192 function gzencode(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_GZIP): string|false … function
|
H A D | zlib.c | 769 PHP_ZLIB_ENCODE_FUNC(gzencode, PHP_ZLIB_ENCODING_GZIP);
|
Completed in 16 milliseconds