if (!defined('PHP_INT_MAX')) define('PHP_INT_MAX', intval('9223372036854775807'));
// Compress the output, if ob_gzhandler is available. Always buffer the output. // We are using double buffring so we can get the length of the gzipped output. ob_start(); $zlibCompression = strtolower(ini_get('zlib.output_compression')); $zlibCompression = (($zlibCompression == 'on') or ($zlibCompression == 'true') or ($zlibCompression == 'yes') or $zlibCompression); ob_start((function_exists('ob_gzhandler') and !$zlibCompression) ? 'ob_gzhandler' : null);