global statement removal: hphp/test [7/x]
[hiphop-php.git] / hphp / test / quick / check_init_prop.hhas
blob718f7099d4fc3eed5967955b6ce7fcae7292aa9b
2 .main {
3   DefCls 0
4   NewObjD "C"
5   Dup
6   FPushCtor 0
7   FCall <> 0 1 "" - "" ""
9   CheckProp "foo"
10   InitProp "bar" NonStatic
12   PopC
13   RetC
16 .class C {
17   .default_ctor;
19   .method [public] 86sinit() {
20     String "default ::foo value"
21     InitProp "foo" Static
23     Null
24     RetC
25   }
27   .method [public] 86pinit() {
28     CheckProp "bar"
29     String "string"
30     InitProp "baz" Static
32     RetC
33   }