1--TEST--
2Test gzencode() function : variation
3--EXTENSIONS--
4zlib
5--SKIPIF--
6<?php
7if (substr(PHP_OS, 0, 3) != "WIN") {
8  die("skip only for Windows");
9}
10?>
11--FILE--
12<?php
13
14include(__DIR__ . '/data.inc');
15
16echo "*** Testing gzencode() : variation ***\n";
17
18echo "\n-- Testing multiple compression --\n";
19$output = gzencode(gzencode($data));
20
21$back = gzdecode(gzdecode($output));
22var_dump($data === $back);
23?>
24--EXPECT--
25*** Testing gzencode() : variation ***
26
27-- Testing multiple compression --
28bool(true)
29