3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $compressed = gzcompress('Compress me'); echo $compressed; $compressed = gzuncompress(compressed); echo $compressed; ?>
Output for 4.3.2 - 7.1.0
x�s��-(J-.V�M�? Notice: Use of undefined constant compressed - assumed 'compressed' in /in/6WO3j on line 4 Warning: gzuncompress(): data error in /in/6WO3j on line 4
Output for 4.3.0 - 4.3.1
x�s��-(J-.V�M�? Notice: Use of undefined constant compressed - assumed 'compressed' in /in/6WO3j on line 4 Warning: gzuncompress() [http://www.php.net/function.gzuncompress]: data error in /in/6WO3j on line 4