ob_gzhandler — ob_start callback function to gzip output buffer

<?php

ob_start("ob_gzhandler");

?>
<html>
<body>
<p>This should be a compressed page.</p>
</html>
<body>
原文地址:https://www.cnblogs.com/hehexu/p/9501147.html