Home
last modified time | relevance | path

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

12345678910>>...14

/PHP-5.5/ext/zlib/
H A Dconfig.w324 ARG_ENABLE("zlib", "ZLIB support", "yes");
7 if (CHECK_LIB("zlib_a.lib;zlib.lib", "zlib", PHP_ZLIB) &&
8 CHECK_HEADER_ADD_INCLUDE("zlib.h", "CFLAGS", "..\\zlib;" + php_usual_include_suspects)) {
10 EXTENSION("zlib", "zlib.c zlib_fopen_wrapper.c zlib_filter.c", null, "/D ZLIB_EXPORTS");
14 ADD_DEF_FILE("ext\\zlib\\php_zlib.def");
17 WARNING("zlib support can't be enabled, zlib is missing")
H A Dconfig0.m45 PHP_ARG_WITH(zlib,for ZLIB support,
6 [ --with-zlib[=DIR] Include ZLIB support (requires zlib >= 1.0.9)])
9 [ --with-zlib-dir=<DIR> Define the location of zlib install directory], no, no)
12 PHP_NEW_EXTENSION(zlib, zlib.c zlib_fopen_wrapper.c zlib_filter.c, $ext_shared)
16 if test -f $PHP_ZLIB/include/zlib/zlib.h; then
18 ZLIB_INCDIR=$ZLIB_DIR/include/zlib
19 elif test -f $PHP_ZLIB/include/zlib.h; then
25 if test -f $i/include/zlib/zlib.h; then
27 ZLIB_INCDIR=$i/include/zlib
28 elif test -f $i/include/zlib.h; then
[all …]
H A Dzlib_win32_howto.txt4 The zlib project requires the folowing files:
6 php_build\zlib\include\zlib.h
7 php_build\zlib\include\zconf.h
8 php_build\zlib\lib\zlibstat.lib
H A Dzlib.dsp1 # Microsoft Developer Studio Project File - Name="zlib" - Package Owner=<4>
7 CFG=zlib - Win32 Release_TS
11 !MESSAGE NMAKE /f "zlib.mak".
16 !MESSAGE NMAKE /f "zlib.mak" CFG="zlib - Win32 Release_TS"
20 !MESSAGE "zlib - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library")
21 !MESSAGE "zlib - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library")
32 !IF "$(CFG)" == "zlib - Win32 Release_TS"
59 !ELSEIF "$(CFG)" == "zlib - Win32 Debug_TS"
90 # Name "zlib - Win32 Release_TS"
91 # Name "zlib - Win32 Debug_TS"
[all …]
/PHP-5.5/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 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 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 Dzlib_scheme_stat_basic.phpt2 Test compress.zlib:// scheme with the unlink function
5 if (!extension_loaded("zlib")) {
12 $srcFile = "compress.zlib://$inputFileName";
19 Warning: stat(): stat failed for compress.zlib://%s/004.txt.gz in %s on line %d
21 Warning: lstat(): Lstat failed for compress.zlib://%s/004.txt.gz in %s on line %d
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 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);
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 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 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://". dirname(__FILE__). "/../../../ext/xsl/tests/xslt.xsl.gz", "rb");
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));
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";
38 Warning: filesize(): stat failed for compress.zlib://%s004.txt.gz in %s on line %d
41 Warning: filetype(): Lstat failed for compress.zlib://%s004.txt.gz in %s on line %d
44 Warning: fileatime(): stat failed for compress.zlib://%s004.txt.gz in %s on line %d
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 Dbug60761.phpt2 checks zlib compression output size is always the same
4 <?php if (!extension_loaded("zlib")) print "skip"; ?>
11 ini_set('zlib.output_compression', '4096');
12 ini_set('zlib.output_compression_level', '9');
15 // test using ob_start and zlib.output_compression(or ob_gzhandler)
23 // can't use ob_gzhandler with zlib.output_compression
H A Dzlib_scheme_dir_basic.phpt2 Test compress.zlib:// scheme with the directory functions
5 if (!extension_loaded("zlib")) {
12 $srcFile = "compress.zlib://$inputFileName";
23 Warning: opendir(compress.zlib://%s/dir.gz): failed to open dir: not implemented in %s on line %d
H A Dzlib_scheme_copy_basic.phpt2 Test compress.zlib:// scheme with the copy function: compressed to compressed
5 if (!extension_loaded("zlib")) {
14 $srcFile = "compress.zlib://$inputFileName";
15 $destFile = "compress.zlib://$outputFileName";
H A Dzlib_scheme_fopen_variation1.phpt2 Test compress.zlib:// scheme with the fopen on a file scheme
5 if (!extension_loaded("zlib")) {
13 $compressedFile = "compress.zlib://$srcFile";
22 file=compress.zlib://file://%s/004.txt.gz
/PHP-5.5/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">
/PHP-5.5/ext/zip/
H A Dconfig.m49 PHP_ARG_WITH(zlib-dir, for the location of libz,
10 [ --with-zlib-dir[=DIR] ZIP: Set the path to libz install prefix], no, no)
19 if test -f "$PHP_ZLIB_DIR/include/zlib/zlib.h"; then
21 PHP_ZLIB_INCDIR="$PHP_ZLIB_DIR/include/zlib"
22 elif test -f "$PHP_ZLIB_DIR/include/zlib.h"; then
26 AC_MSG_ERROR([Can not find zlib headers under "$PHP_ZLIB_DIR"])
30 if test -f "$i/include/zlib/zlib.h"; then
32 PHP_ZLIB_INCDIR="$i/include/zlib"
33 elif test -f "$i/include/zlib.h"; then
40 dnl # zlib
[all …]
/PHP-5.5/tests/output/
H A Dob_018.phpt5 if (!extension_loaded("zlib")) die("skip need ext/zlib");
11 zlib.output_compression=1
/PHP-5.5/tests/basic/
H A Dreq44164.phpt2 Req #44164 (Handle "Content-Length" HTTP header when zlib.output_compression active)
6 die("skip zlib extension required");
9 zlib.output_compression=On

Completed in 29 milliseconds

12345678910>>...14