简体   繁体   中英

Most effective text compression in PHP

I'm working on a project that will be storing a lot of text files as a backup. I want it to compress somehow. At this time I'm using gzdeflate to compress files. Is there any more effective compress algorithm for text in PHP? No images etc will be involved.

Thanks in advance.

如果“有效”你的意思是大小,那么bzcompress()通常会击败gzdeflate。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM