/PHP-8.0/ext/zlib/ |
H A D | config.w32 | 3 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 D | config0.m4 | 1 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 D | ob_002.phpt | 2 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 D | bug71417.phpt | 2 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 D | ob_003.phpt | 2 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 D | bug_52944.phpt | 2 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 D | zlib_wrapper_level.phpt | 2 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 D | zlib_scheme_stat_basic.phpt | 2 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 D | bug67724.phpt | 2 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 D | ob_001.phpt | 2 zlib.output_compression 5 if (!extension_loaded("zlib")) die("skip need ext/zlib"); 11 zlib.output_compression=1
|
H A D | bug51269.phpt | 2 Bug #51269 (zlib.output_compression Overwrites Vary Header) 4 zlib.output_compression=1 9 if (!extension_loaded("zlib")) die("skip zlib required");
|
H A D | ob_005.phpt | 5 if (!extension_loaded("zlib")) die("skip need ext/zlib"); 9 zlib.output_compression=0 17 ini_set("zlib.output_compression", 0);
|
H A D | bug48725_2.phpt | 2 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 D | zlib_filter_inflate2.phpt | 2 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 D | ob_gzhandler_legacy_002.phpt | 5 if (!extension_loaded("zlib")) die("skip need ext/zlib"); 9 zlib.output_compression=0 17 ini_set("zlib.output_compression", 0);
|
H A D | zlib_get_coding_type_basic.phpt | 6 <?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 D | zlib_get_coding_type_br.phpt | 6 <?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 D | zlib_get_coding_type_deflate.phpt | 6 <?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 D | zlib_get_coding_type_gzip.phpt | 6 <?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 D | bug55544-win.phpt | 2 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 D | compress_zlib_wrapper.phpt | 2 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 D | 008.phpt | 2 zlib.output_compression=1 with client not accepting compression 4 <?php if (!extension_loaded('zlib')) die('skip'); ?> 6 zlib.output_compression=1
|
H A D | zlib_scheme_stat_basic2.phpt | 2 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 D | filter_errors_zlib_inflate.phpt | 2 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 D | dom_xinclude.phpt | 6 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">
|