Arquivos
hhvm/hphp/test/quick/debug_backtrace_trait.php.expectf
T
Sean Cannella 685af88ccf fix file/class in backtraces involving traits
- non-repo mode: use fullName() instead of flawed logic in type constraint failures
- repo mode: save the original filename when flattening traits
2013-05-23 21:03:04 -07:00

38 linhas
712 B
Plaintext

array(2) {
[0]=>
array(4) {
["file"]=>
string(%d) "%Sdebug_backtrace_trait_helper.inc"
["line"]=>
int(15)
["function"]=>
string(15) "print_backtrace"
["args"]=>
array(0) {
}
}
[1]=>
array(7) {
["file"]=>
string(%d) "%Sdebug_backtrace_trait.php"
["line"]=>
int(7)
["function"]=>
string(3) "bar"
["class"]=>
string(1) "C"
["object"]=>
object(C)#1 (0) {
}
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
object(stdClass)#2 (0) {
}
}
}
}
HipHop Fatal error: Argument 1 passed to C::bar() must be an instance of stdClass, int given in %Sdebug_backtrace_trait_helper.inc on line 16