Arquivos
hhvm/hphp/test/vm/properties3.php.exp
T
Jordan Delong 363d1bb20f Code move src/ -> hphp/
This change is mostly for FB internal organizational reasons.
Building is not effected beyond the fact that the target now
lands in hphp/hhvm/hhvm rather than src/hhvm/hhvm.
2013-02-11 02:10:41 -08:00

70 linhas
884 B
Plaintext

A::__get y
string(1) "y"
A::__get x
string(1) "x"
A::__get y
string(1) "y"
A::__get x
string(1) "x"
A::__get x
A::__set x, 1
A::__get y
A::__set y, 2
object(A)#1 (0) {
}
A::__get x
A::__set x, y
A::__get y
A::__set y, z
object(A)#1 (0) {
}
B::__get x
B::__get y
object(B)#2 (2) {
["x":"B":private]=>
int(1)
["y"]=>
int(2)
}
B::__get x
B::__get y
object(B)#2 (2) {
["x":"B":private]=>
string(1) "y"
["y"]=>
string(1) "z"
}
object(C)#3 (2) {
["x":"C":private]=>
int(1)
["y"]=>
int(2)
}
object(C)#3 (2) {
["x":"C":private]=>
int(1)
["y"]=>
int(1)
}
HipHop Notice: Undefined property: D::$y in hphp/test/vm/properties3.php on line 187
NULL
NULL
object(D)#4 (2) {
["x":"D":private]=>
int(1)
["y"]=>
int(2)
}
object(D)#4 (2) {
["x":"D":private]=>
int(1)
["y"]=>
int(2)
}
object(D)#4 (2) {
["x":"D":private]=>
int(1)
["y"]=>
int(1)
}