a6d70040fa
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.
35 linhas
822 B
Plaintext
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)
|
|
}
|