3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); ini_set("display_errors",1); // true var_dump(in_array('zlib', get_loaded_extensions())); // true var_dump(in_array('gzcompress', get_extension_funcs('zlib')) ); // true var_dump(function_exists('gzcompress')); // true var_dump(is_callable('gzcompress')); // and the problem call // no output here, no message in apache log, not even system log, // no error/warning/notice/etc var_dump(gzcompress('some string test')); // dont get to this part var_dump('end line'); ?>
Output for git.master, git.master_jit, rfc.property-hooks
bool(true) bool(true) bool(true) bool(true) string(24) "x�+��MU(.)��KW(I-.5�L" string(8) "end line"

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
38.28 ms | 401 KiB | 8 Q