Home
last modified time | relevance | path

Searched refs:zlib (Results 1 – 25 of 357) sorted by relevance

12345678910>>...15

/php-src/ext/zlib/
H A Dconfig.w323 ARG_ENABLE("zlib", "ZLIB support", "yes");
6 if (CHECK_LIB("zlib_a.lib;zlib.lib", "zlib", PHP_ZLIB) &&
7 CHECK_HEADER_ADD_INCLUDE("zlib.h", "CFLAGS", "..\\zlib;" + php_usual_include_suspects)) {
9 …EXTENSION("zlib", "zlib.c zlib_fopen_wrapper.c zlib_filter.c", PHP_ZLIB_SHARED, "/D ZLIB_EXPORTS /…
13 ADD_DEF_FILE("ext\\zlib\\php_zlib.def");
16 WARNING("zlib support can't be enabled, zlib is missing")
H A Dconfig0.m41 PHP_ARG_WITH([zlib],
3 [AS_HELP_STRING([--with-zlib],
4 [Include ZLIB support (requires zlib >= 1.2.0.4)])])
7 PKG_CHECK_MODULES([ZLIB], [zlib >= 1.2.0.4])
14 …PHP_NEW_EXTENSION(zlib, zlib.c zlib_fopen_wrapper.c zlib_filter.c, $ext_shared,, -DZEND_ENABLE_STA…
/php-src/ext/zlib/tests/
H A Dbug71417.phpt2 Bug #71417: fread() does not report zlib.inflate errors
4 zlib
15 // $ php test-zlib-inflate.php
18 // $ gzip test-zlib-inflate.gz
23 // $ php test-zlib-inflate.php
25 // $ gzip test-zlib-inflate.gz
30 // $ php test-zlib-inflate.php
33 // $ gzip test-zlib-inflate.gz
40 // $ gunzip test-zlib-inflate.gz
73 Notice: fread(): zlib: data error in %s on line %d
[all …]
H A Dzlib_wrapper_level.phpt2 compress.zlib:// wrapper with compression level
4 zlib
7 in_array('compress.zlib', stream_get_wrappers()) || print 'skip No zlib wrapper';
12 $filename = tempnam(sys_get_temp_dir(), "php-zlib-test-");
18 $ctx = stream_context_create(['zlib' => ['level' => $level] ]);
19 $fp = fopen("compress.zlib://$filename", 'w', false, $ctx);
H A Dob_002.phpt2 zlib.output_compression
4 zlib
6 zlib.output_compression=1
11 ini_set("zlib.output_compression", 0);
H A Dbug_52944.phpt2 Bug #52944 (segfault with zlib filter and corrupted data)
4 zlib
9 /* NOTE this test can fail on asm builds of zlib 1.2.5 or
11 zlib build fixes the issue. */
16 stream_filter_append($fp, 'zlib.inflate', STREAM_FILTER_READ);
23 Notice: fread(): zlib: data error in %s on line %d
H A Dzlib_scheme_stat_basic.phpt2 Test compress.zlib:// scheme with the unlink function
4 zlib
8 $srcFile = "compress.zlib://$inputFileName";
13 Warning: stat(): stat failed for compress.zlib://%s/004.txt.gz in %s on line %d
15 Warning: lstat(): Lstat failed for compress.zlib://%s/004.txt.gz in %s on line %d
H A Dzlib_filter_inflate2.phpt2 zlib.inflate of gzip-encoded stream
4 zlib
13 stream_filter_append($fp, 'zlib.inflate', STREAM_FILTER_READ);
18 // zlib format
20 stream_filter_append($fp, 'zlib.inflate', STREAM_FILTER_READ, array('window' => 15+16));
26 stream_filter_append($fp, 'zlib.inflate', STREAM_FILTER_READ, array('window' => 15+32));
37 Notice: fread(): zlib: data error in %s on line %d
H A Dob_003.phpt2 zlib.output_compression
4 zlib
10 zlib.output_compression=0
17 ini_set("zlib.output_compression", 1);
H A Dzlib_get_coding_type_basic.phpt6 zlib
9 ini_set('zlib.output_compression', 'Off');
11 ini_set('zlib.output_compression', 'On');
13 ini_set('zlib.output_compression', 'Off');
H A Dzlib_get_coding_type_br.phpt6 zlib
11 ini_set('zlib.output_compression', 'Off');
13 ini_set('zlib.output_compression', 'On');
15 ini_set('zlib.output_compression', 'Off');
H A Dzlib_get_coding_type_deflate.phpt6 zlib
11 ini_set('zlib.output_compression', 'Off');
13 ini_set('zlib.output_compression', 'On');
15 ini_set('zlib.output_compression', 'Off');
H A Dzlib_get_coding_type_gzip.phpt6 zlib
11 ini_set('zlib.output_compression', 'Off');
13 ini_set('zlib.output_compression', 'On');
15 ini_set('zlib.output_compression', 'Off');
H A Dzlib_scheme_stat_basic2.phpt2 Test compress.zlib:// scheme with the unlink function
4 zlib
8 $srcFile = "compress.zlib://$inputFileName";
33 Warning: filesize(): stat failed for compress.zlib://%s004.txt.gz in %s on line %d
36 Warning: filetype(): Lstat failed for compress.zlib://%s004.txt.gz in %s on line %d
39 Warning: fileatime(): stat failed for compress.zlib://%s004.txt.gz in %s on line %d
H A Dcompress_zlib_wrapper.phpt2 compress.zlib:// wrapper
4 zlib
12 $fp = fopen("compress.zlib://{$pfx}ext/xsl/tests/xslt.xsl.gz", "rb");
16 $fp = fopen("compress.zlib://". __DIR__. "/../../../ext/xsl/tests/xslt.xsl.gz", "rb");
H A Dbug55544-win.phpt2 Bug #55544 (ob_gzhandler always conflicts with zlib.output_compression)
4 zlib
12 die("skip - at least zlib 1.2.11 required, got " . get_zlib_version());
17 zlib.output_compression=0
H A D008.phpt2 zlib.output_compression=1 with client not accepting compression
4 zlib
6 zlib.output_compression=1
H A Dzlib_scheme_dir_basic.phpt2 Test compress.zlib:// scheme with the directory functions
4 zlib
8 $srcFile = "compress.zlib://$inputFileName";
18 Warning: opendir(compress.zlib://%s/dir.gz): Failed to open directory: not implemented in %s on lin…
H A Dbug67724.phpt2 Bug #67724 (chained zlib filters silently fail with large amounts of data)
4 zlib
15 stream_filter_append($f, "zlib.inflate", STREAM_FILTER_READ, ["window" => 30]);
16 stream_filter_append($f, "zlib.inflate", STREAM_FILTER_READ, ["window" => 30]);
H A Dbug60761.phpt2 checks zlib compression output size is always the same
4 zlib
10 ini_set('zlib.output_compression', '4096');
11 ini_set('zlib.output_compression_level', '9');
14 // test using ob_start and zlib.output_compression(or ob_gzhandler)
22 // can't use ob_gzhandler with zlib.output_compression
H A Dzlib_scheme_copy_basic.phpt2 Test compress.zlib:// scheme with the copy function: compressed to compressed
4 zlib
10 $srcFile = "compress.zlib://$inputFileName";
11 $destFile = "compress.zlib://$outputFileName";
H A Dbug51269.phpt2 Bug #51269 (zlib.output_compression Overwrites Vary Header)
4 zlib.output_compression=1
8 zlib
/php-src/ext/standard/tests/filters/
H A Dfilter_errors_zlib_inflate.phpt2 Filter errors: zlib.inflate
4 <?php require 'filter_errors.inc'; filter_errors_skipif('zlib.inflate'); ?>
8 filter_errors_test('zlib.inflate', gzencode('42'));
13 Notice: stream_filter_append(): zlib: data error in %s on line %d
18 Notice: stream_get_contents(): zlib: data error in %s on line %d
/php-src/ext/dom/tests/
H A Ddom_xinclude.phpt7 in_array('compress.zlib', stream_get_wrappers()) or die('skip compress.zlib wrapper is not availabl…
18 $data = str_replace('compress.zlib://ext/dom/tests/','compress.zlib://'.$reldir."/", $data);
31 <book xml:base="compress.zlib://%sbook.xml">
34 </book><book xml:base="compress.zlib://%sbook.xml">
/php-src/tests/basic/
H A Dreq44164.phpt2 Req #44164 (Handle "Content-Length" HTTP header when zlib.output_compression active)
4 zlib
6 zlib.output_compression=On

Completed in 24 milliseconds

12345678910>>...15