<?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');
?>