Searched refs:gzencode (Results 1 – 17 of 17) sorted by relevance
/PHP-8.2/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 10 * Test basic function of gzencode 15 echo "*** Testing gzencode() : basic functionality ***\n"; 22 // Calling gzencode() with various compression levels 27 $output = gzencode($data, $i); 34 $output = gzencode($smallstring, $i); 38 // Calling gzencode() with mandatory arguments 40 $output = gzencode($smallstring); 44 $outupt = gzencode($smallstring, -1, FORCE_GZIP); 48 *** 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-8.2/ext/standard/tests/filters/ |
H A D | filter_errors_zlib_inflate.phpt | 8 filter_errors_test('zlib.inflate', gzencode('42'));
|
/PHP-8.2/ext/soap/tests/bugs/ |
H A D | bug47925.phpt | 35 test(gzencode($plain_response), "gzip");
|
/PHP-8.2/ext/zlib/ |
H A D | zlib_arginfo.h | 144 ZEND_FUNCTION(gzencode); 176 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 | 772 PHP_ZLIB_ENCODE_FUNC(gzencode, PHP_ZLIB_ENCODING_GZIP);
|
/PHP-8.2/ext/soap/tests/ |
H A D | bug73037.phpt | 83 $data = gzencode($data);
|
Completed in 68 milliseconds