3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'Compress meCompress meCompress meCompress meCompress meCompress meCompress meCompress meCompress me'; echo "str".strlen($str)."\n"; //压缩率最低(gzip压缩算法) 生成结果可以直接写到.gz文件中 //压缩率居中 –This function compress the given string using the ZLIB data format. $compressed = gzcompress('Compress me', 9); echo $compressed;
Output for 4.3.0 - 7.1.0
str99 x�s��-(J-.V�M�?