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.
If by “effective” you mean size-wise then
bzcompress()will usually beat gzdeflate.