123456789101112131415161718192021222324252627282930313233 |
- Conditional class definition
- -----
- <?php
- if (true) {
- class A {}
- }
- -----
- array(
- 0: Stmt_If(
- stmts: array(
- 0: Stmt_Class(
- type: 0
- extends: null
- implements: array(
- )
- stmts: array(
- )
- name: A
- )
- )
- elseifs: array(
- )
- else: null
- cond: Expr_ConstFetch(
- name: Name(
- parts: array(
- 0: true
- )
- )
- )
- )
- )
|