3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $compressed = gzdeflate('Compress me', 9); echo $compressed; $bzstr = bzcompress($start_str);
based on 4eSW4
Output for 7.0.0 - 7.1.0
s��-(J-.V�M Fatal error: Uncaught Error: Call to undefined function bzcompress() in /in/8OA7Z:4 Stack trace: #0 {main} thrown in /in/8OA7Z on line 4
Process exited with code 255.
Output for hhvm-3.12.0
s��-(J-.V�M Notice: Undefined variable: start_str in /in/8OA7Z on line 4 Warning: bzcompress() expects parameter 1 to be string, null given in /in/8OA7Z on line 4
Output for hhvm-3.10.0
s��-(J-.V�M Notice: Undefined variable: start_str in /in/8OA7Z on line 4
Output for 5.0.0 - 5.6.28
s��-(J-.V�M Fatal error: Call to undefined function bzcompress() in /in/8OA7Z on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
s��-(J-.V�M Fatal error: Call to undefined function: bzcompress() in /in/8OA7Z on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
s��-(J-.V�M Fatal error: Call to undefined function: bzcompress() in /in/8OA7Z on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
s��-(J-.V�M Fatal error: Call to undefined function: bzcompress() in /in/8OA7Z on line 4