2 # Some tests of property/constant initializers.
6 FPushFuncD 0 "init_test"
10 FPushFuncD 0 "uninit_test"
20 .const BAR = """s:4:"1242";""";
21 .property [static public] foo = """s:11:"static prop";""";
22 .property [public] nonstat = """s:25:"this is a normal property";""";
28 .property [static public] foo = uninit;
29 .property [public] nonstat = uninit;
31 .method [public] 86cinit($which) {
37 String "default BAR value"
41 String "unknown property"
45 .method [public] 86sinit() {
46 String "default ::foo value"
53 .method [public] 86pinit() {
56 String "code-created prop value"
57 InitProp "nonstat" NonStatic
65 .function do_test($who) {
102 .function init_test {
103 FPushFuncD 1 "do_test"
110 .function uninit_test {
111 FPushFuncD 1 "do_test"