3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $compressed = gzcompress('Compress me'); echo $compressed; $compressed = gzuncompress(compressed); echo $compressed; ?>
Output for 7.2.0 - 7.3.0
x�s��-(J-.V�M�? Warning: Use of undefined constant compressed - assumed 'compressed' (this will throw an Error in a future version of PHP) in /in/6WO3j on line 4 Warning: gzuncompress(): data error in /in/6WO3j on line 4
Output for 4.3.2 - 7.1.25
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