Arquivos
hhvm/hphp/test/vm/UnsetProp.php.exp
T
ptarjan 27dc48a6bf kill all .filter files
.expectf can do everything these do in a more readable way.
2013-04-11 10:52:18 -07:00

34 linhas
612 B
Plaintext

Test begin
object(F)#1 (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)#1 (0) {
}
object(C)#2 (2) {
["p"]=>
string(4) "C::p"
["q"]=>
NULL
}
In C::__unset("r")
object(C)#2 (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"