Arquivos
hhvm/hphp/test/vm/closure_static.php.exp
T
ptarjan a6d70040fa fix static closures
I added the check for this in the interpreter but ##f_array_map## re-enteres the VM via a different path than FCall. Here is the equivilent check for the VM.
2013-03-21 16:51:06 -07:00

35 linhas
822 B
Plaintext

object(A)#1 (1) {
["c":"A":private]=>
int(1)
}
HipHop Notice: Undefined variable: this in hphp/test/vm/closure_static.php on line 13
NULL
HipHop Notice: Undefined variable: this in hphp/test/vm/closure_static.php on line 8
NULL
HipHop Notice: Undefined variable: this in hphp/test/vm/closure_static.php on line 13
NULL
HipHop Notice: Undefined variable: this in hphp/test/vm/closure_static.php on line 20
NULL
HipHop Notice: Undefined variable: this in hphp/test/vm/closure_static.php on line 25
NULL
HipHop Notice: Undefined variable: this in hphp/test/vm/closure_static.php on line 20
NULL
HipHop Notice: Undefined variable: this in hphp/test/vm/closure_static.php on line 25
NULL
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}