Arquivos
hhvm/hphp/test/vm/actrec.php.exp
T
mwilliams b387d70e70 RetC needs to zero ActRec::m_this before destroying it
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.
2013-03-25 13:31:16 -07:00

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"