+1 vote
in PHP by

Which of the following function is used to compress a string in PHP?

a) compress()

b) zip_compress()

c) gzcompress()

d) zip()

1 Answer

0 votes
by

c) gzcompress()

Description: The gzcompress() in PHP compresses the given string using the ZLIB format.

...