3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = 'vmiac'; echo $data."\n"; $compressed = base64_encode(gzcompress($data)); echo($compressed."\n"); echo(base64_decode(gzuncompress($compressed))) ?>
Output for 5.6.30, 7.0.0 - 7.3.0rc3
vmiac eJwry81MTAYABmcCEQ== Warning: gzuncompress(): data error in /in/sdbH2 on line 7
Output for hhvm-3.22.0
vmiac eJwry81MTAYABmcCEQ== Warning: data error in /in/sdbH2 on line -1
Output for hhvm-3.15.4 - 3.21.3
vmiac eJwry81MTAYABmcCEQ== Warning: data error in /in/sdbH2 on line 7