Home
last modified time | relevance | path

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

12345678910>>...15

/PHP-8.0/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-8.0/ext/zlib/tests/
H A Dob_002.phpt2 zlib.output_compression
5 if (!extension_loaded("zlib")) die("skip need ext/zlib");
8 zlib.output_compression=1
13 ini_set("zlib.output_compression", 0);
H A Dbug71417.phpt2 Bug #71417: fread() does not report zlib.inflate errors
4 <?php if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); ?>
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 Dob_003.phpt2 zlib.output_compression
5 if (!extension_loaded("zlib")) die("skip need ext/zlib");
9 zlib.output_compression=0
16 ini_set("zlib.output_compression", 1);
H A Dbug_52944.phpt2 Bug #52944 (segfault with zlib filter and corrupted data)
4 <?php if (!extension_loaded("zlib")) print "skip"; ?>
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_wrapper_level.phpt2 compress.zlib:// wrapper with compression level
4 <?php in_array('compress.zlib', stream_get_wrappers()) || print 'skip No zlib wrapper';
8 $filename = tempnam(sys_get_temp_dir(), "php-zlib-test-");
14 $ctx = stream_context_create(['zlib' => ['level' => $level] ]);
15 $fp = fopen("compress.zlib://$filename", 'w', false, $ctx);
H A Dzlib_scheme_stat_basic.phpt2 Test compress.zlib:// scheme with the unlink function
5 if (!extension_loaded("zlib")) {
12 $srcFile = "compress.zlib://$inputFileName";
17 Warning: stat(): stat failed for compress.zlib://%s/004.txt.gz in %s on line %d
19 Warning: lstat(): Lstat failed for compress.zlib://%s/004.txt.gz in %s on line %d
H A Dbug67724.phpt2 Bug #67724 (chained zlib filters silently fail with large amounts of data)
5 extension_loaded("zlib") or die("skip need ext/zlib");
13 stream_filter_append($f, "zlib.inflate", STREAM_FILTER_READ, ["window" => 30]);
14 stream_filter_append($f, "zlib.inflate", STREAM_FILTER_READ, ["window" => 30]);
H A Dob_001.phpt2 zlib.output_compression
5 if (!extension_loaded("zlib")) die("skip need ext/zlib");
11 zlib.output_compression=1
H A Dbug51269.phpt2 Bug #51269 (zlib.output_compression Overwrites Vary Header)
4 zlib.output_compression=1
9 if (!extension_loaded("zlib")) die("skip zlib required");
H A Dob_005.phpt5 if (!extension_loaded("zlib")) die("skip need ext/zlib");
9 zlib.output_compression=0
17 ini_set("zlib.output_compression", 0);
H A Dbug48725_2.phpt2 Bug #48725 (Support for flushing in zlib stream)
5 if (!extension_loaded('zlib')) die('skip zlib extension not available');
11 stream_filter_append($stream, 'zlib.deflate', STREAM_FILTER_READ);
H A Dzlib_filter_inflate2.phpt2 zlib.inflate of gzip-encoded stream
4 <?php if (!extension_loaded("zlib")) print "skip"; ?>
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_gzhandler_legacy_002.phpt5 if (!extension_loaded("zlib")) die("skip need ext/zlib");
9 zlib.output_compression=0
17 ini_set("zlib.output_compression", 0);
H A Dzlib_get_coding_type_basic.phpt6 <?php if (!extension_loaded("zlib")) print "skip"; ?>
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 <?php if (!extension_loaded("zlib")) print "skip"; ?>
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 <?php if (!extension_loaded("zlib")) print "skip"; ?>
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 <?php if (!extension_loaded("zlib")) print "skip"; ?>
11 ini_set('zlib.output_compression', 'Off');
13 ini_set('zlib.output_compression', 'On');
15 ini_set('zlib.output_compression', 'Off');
H A Dbug55544-win.phpt2 Bug #55544 (ob_gzhandler always conflicts with zlib.output_compression)
5 extension_loaded("zlib") or die("skip");
11 die("skip - at least zlib 1.2.11 required, got " . get_zlib_version());
16 zlib.output_compression=0
H A Dcompress_zlib_wrapper.phpt2 compress.zlib:// wrapper
4 <?php if (!extension_loaded("zlib")) die("skip"); ?>
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 D008.phpt2 zlib.output_compression=1 with client not accepting compression
4 <?php if (!extension_loaded('zlib')) die('skip'); ?>
6 zlib.output_compression=1
H A Dzlib_scheme_stat_basic2.phpt2 Test compress.zlib:// scheme with the unlink function
5 if (!extension_loaded("zlib")) {
12 $srcFile = "compress.zlib://$inputFileName";
37 Warning: filesize(): stat failed for compress.zlib://%s004.txt.gz in %s on line %d
40 Warning: filetype(): Lstat failed for compress.zlib://%s004.txt.gz in %s on line %d
43 Warning: fileatime(): stat failed for compress.zlib://%s004.txt.gz in %s on line %d
/PHP-8.0/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-8.0/ext/dom/tests/
H A Ddom_xinclude.phpt6 in_array('compress.zlib', stream_get_wrappers()) or die('skip compress.zlib wrapper is not availabl…
17 $data = str_replace('compress.zlib://ext/dom/tests/','compress.zlib://'.$reldir."/", $data);
30 <book xml:base="compress.zlib://%sbook.xml">
33 </book><book xml:base="compress.zlib://%sbook.xml">

Completed in 36 milliseconds

12345678910>>...15