b387d70e70
In the case where m_this was already in a register, and known to be non-zero, we would fail to zero the ActRec's m_this field, which could result in a dangling reference to $this being captured by debug_backtrace. Put the store on the presumably cold path. Fix DecRefThis to do the same.
23 linhas
234 B
Plaintext
23 linhas
234 B
Plaintext
int(1)
|
|
object(X)#2 (1) {
|
|
["bar":"X":private]=>
|
|
int(1)
|
|
}
|
|
string(13) "X::__destruct"
|
|
NULL
|
|
array(6) {
|
|
[0]=>
|
|
int(1)
|
|
[1]=>
|
|
int(1)
|
|
[2]=>
|
|
int(1)
|
|
[3]=>
|
|
int(1)
|
|
[4]=>
|
|
int(1)
|
|
[5]=>
|
|
int(1)
|
|
}
|
|
string(13) "X::__destruct"
|