1--TEST--
2Test gzdeflate() function : variation
3--SKIPIF--
4<?php
5if (!extension_loaded("zlib")) {
6	print "skip - ZLIB extension not loaded";
7}
8?>
9--FILE--
10<?php
11/* Prototype  : string gzdeflate(string data [, int level])
12 * Description: Gzip-compress a string
13 * Source code: ext/zlib/zlib.c
14 * Alias to functions:
15 */
16
17include(__DIR__ . '/data.inc');
18
19echo "*** Testing gzdeflate() : variation ***\n";
20
21
22
23echo "\n-- Testing multiple compression --\n";
24$output = gzdeflate($data);
25var_dump( md5($output));
26var_dump(md5(gzdeflate($output)));
27
28?>
29===Done===
30--EXPECT--
31*** Testing gzdeflate() : variation ***
32
33-- Testing multiple compression --
34string(32) "078554fe65e06f6ff01eab51cfc7ae9b"
35string(32) "86b9f895ef1377da5269ec3cb2729f71"
36===Done===
37