3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $compressed = gzdeflate('1', 9); echo $compressed; $bzstr = bzcompress($start_str); echo "Compressed String: "; echo $bzstr; echo "\n<br />\n"; $str = bzdecompress($bzstr); echo "Decompressed String: "; echo $str; echo "\n<br />\n"; $compressed = gzdeflate('Compress me', 9); echo $compressed;
based on 4eSW4
Output for 7.0.0 - 7.1.0
3 Fatal error: Uncaught Error: Call to undefined function bzcompress() in /in/lZRBC:4 Stack trace: #0 {main} thrown in /in/lZRBC on line 4
Process exited with code 255.
Output for 5.0.0 - 5.6.28
3 Fatal error: Call to undefined function bzcompress() in /in/lZRBC on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
3 Fatal error: Call to undefined function: bzcompress() in /in/lZRBC on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
3 Fatal error: Call to undefined function: bzcompress() in /in/lZRBC on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
3 Fatal error: Call to undefined function: bzcompress() in /in/lZRBC on line 4