1PHP 4 style declarations
2-----
3<?php
4
5class A {
6    var $foo;
7    function bar() {}
8    static abstract function baz() {}
9}
10-----
11array(
12    0: Stmt_Class(
13        attrGroups: array(
14        )
15        flags: 0
16        name: Identifier(
17            name: A
18        )
19        extends: null
20        implements: array(
21        )
22        stmts: array(
23            0: Stmt_Property(
24                attrGroups: array(
25                )
26                flags: 0
27                type: null
28                props: array(
29                    0: PropertyItem(
30                        name: VarLikeIdentifier(
31                            name: foo
32                        )
33                        default: null
34                    )
35                )
36                hooks: array(
37                )
38            )
39            1: Stmt_ClassMethod(
40                attrGroups: array(
41                )
42                flags: 0
43                byRef: false
44                name: Identifier(
45                    name: bar
46                )
47                params: array(
48                )
49                returnType: null
50                stmts: array(
51                )
52            )
53            2: Stmt_ClassMethod(
54                attrGroups: array(
55                )
56                flags: ABSTRACT | STATIC (24)
57                byRef: false
58                name: Identifier(
59                    name: baz
60                )
61                params: array(
62                )
63                returnType: null
64                stmts: array(
65                )
66            )
67        )
68    )
69)
70