1Conditional function definition
2-----
3<?php
4
5if (true) {
6    function A() {}
7}
8-----
9array(
10    0: Stmt_If(
11        cond: Expr_ConstFetch(
12            name: Name(
13                name: true
14            )
15        )
16        stmts: array(
17            0: Stmt_Function(
18                attrGroups: array(
19                )
20                byRef: false
21                name: Identifier(
22                    name: A
23                )
24                params: array(
25                )
26                returnType: null
27                stmts: array(
28                )
29            )
30        )
31        elseifs: array(
32        )
33        else: null
34    )
35)
36