private static function canCompressInPhp() { return extension_loaded('zlib') && function_exists('file_get_contents') && function_exists('file_put_contents'); }