Arquivos
hhvm/hphp/test/vm/UnsetProp.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

34 linhas
607 B
Plaintext

Test begin
object(F) (2) {
["foo"]=>
int(12)
["bart"]=>
string(5) "snoot"
}
int(12)
HipHop Notice: Undefined property: F::$foo in hphp/test/vm/UnsetProp.php on line 10
NULL
string(5) "snoot"
HipHop Notice: Undefined property: F::$bart in hphp/test/vm/UnsetProp.php on line 10
NULL
object(F) (0) {
}
object(C) (2) {
["p"]=>
string(4) "C::p"
["q"]=>
NULL
}
In C::__unset("r")
object(C) (0) {
}
------------------------
foo
------------------------
foo
Test end
string(4) "set1"
HipHop Notice: Undefined property: c2::$declprop in hphp/test/vm/UnsetProp.php on line 68
NULL
string(4) "set2"