6f223125a5
"$unused_local = UndefinedConstant;" was being optimized away, so we didnt get a warning for the constant. return it instead. $unused_local = new Object; return; became new Object; return; This affected the (unspecified) order of destruction of $this vs $unused_local. Since we're specifically trying to test that we dont crash when a local generates a backtrace after $this has been destroyed, force the variable to be used.
50 linhas
699 B
Plaintext
50 linhas
699 B
Plaintext
array(3) {
|
|
[0]=>
|
|
array(7) {
|
|
["file"]=>
|
|
string(%d) "%s"
|
|
["line"]=>
|
|
int(8)
|
|
["function"]=>
|
|
string(10) "__destruct"
|
|
["class"]=>
|
|
string(6) "Tracer"
|
|
["object"]=>
|
|
object(Tracer)#2 (0) {
|
|
}
|
|
["type"]=>
|
|
string(2) "->"
|
|
["args"]=>
|
|
array(0) {
|
|
}
|
|
}
|
|
[1]=>
|
|
array(6) {
|
|
["file"]=>
|
|
string(%d) "%s"
|
|
["line"]=>
|
|
int(19)
|
|
["function"]=>
|
|
string(2) "hi"
|
|
["class"]=>
|
|
string(3) "Foo"
|
|
["type"]=>
|
|
string(2) "::"
|
|
["args"]=>
|
|
array(0) {
|
|
}
|
|
}
|
|
[2]=>
|
|
array(4) {
|
|
["file"]=>
|
|
string(%d) "%s"
|
|
["line"]=>
|
|
int(21)
|
|
["function"]=>
|
|
string(4) "main"
|
|
["args"]=>
|
|
array(0) {
|
|
}
|
|
}
|
|
}
|