function enable() { echo "Going to enable\n"; fb_enable_code_coverage(); echo "Enabled\n"; $z = 3; }
function enable() { echo "Going to enable\n"; fb_enable_code_coverage(); echo "Enabled\n"; $GLOBALS['z'] = 3; }
/** * Starts code coverage. */ public function start() { //@see bug https://github.com/facebook/hhvm/issues/4752 try { fb_enable_code_coverage(); } catch (Exception $e) { } }
/** * {@inheritdoc} */ public function start() { fb_enable_code_coverage(); }
function test($a) { fb_enable_code_coverage(); var_dump(array_map(null, $a)); fb_disable_code_coverage(); }
/** * Start collection of code coverage information. */ protected function doStart() { fb_enable_code_coverage(); }
function test($t) { fb_enable_code_coverage(); var_dump($t); fb_disable_code_coverage(); }