Arquivos
hhvm/hphp/test/slow/code_coverage/check_actrec.php
T
mwilliams 74ca5cd27f fb_enable_code_coverage needs an ActRec
It tries to unwind the top, builtin frame, making
various assumptions that aren't true if it was called by
FCallBuiltin. In dbg builds, it asserts.
2013-07-02 11:46:26 -07:00

10 linhas
120 B
PHP

<?php
function test($t) {
fb_enable_code_coverage();
var_dump($t);
fb_disable_code_coverage();
}
test("hello");