3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo 'This is a test'; $compressed1 = gzencode('This is a test'); $compressed = gzdecode($compressed1); echo $compressed1; echo $compressed; ?>
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
This is a test� ��,V�D����2�z�This is a test
Output for 5.0.0 - 5.3.29
This is a test Fatal error: Call to undefined function gzdecode() in /in/WHE3c on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
This is a test Fatal error: Call to undefined function: gzdecode() in /in/WHE3c on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
This is a test Fatal error: Call to undefined function: gzdecode() in /in/WHE3c on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
This is a test Fatal error: Call to undefined function: gzdecode() in /in/WHE3c on line 4