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 11include(__DIR__ . '/data.inc'); 12 13echo "*** Testing gzdeflate() : variation ***\n"; 14 15 16 17echo "\n-- Testing multiple compression --\n"; 18$output = gzdeflate($data); 19var_dump( md5($output)); 20var_dump(md5(gzdeflate($output))); 21 22?> 23--EXPECT-- 24*** Testing gzdeflate() : variation *** 25 26-- Testing multiple compression -- 27string(32) "078554fe65e06f6ff01eab51cfc7ae9b" 28string(32) "86b9f895ef1377da5269ec3cb2729f71" 29