1. Write short PHP code you want to understand

2. Click on any part of the code (show full tree)

3. See Abstract Syntax Tree created by php-parser for selected node:

PhpParser\Node\Stmt\If_(
    cond: PhpParser\Node\Expr\BinaryOp\Identical(
        left: PhpParser\Node\Expr\Variable( name: "condition" )
        right: PhpParser\Node\Scalar\String_( value: "demo" )
    )
    stmts: [
        0: PhpParser\Node\Stmt\Return_(
            expr: PhpParser\Node\Expr\ConstFetch(
                name: PhpParser\Node\Name\FullyQualified( parts: ["true"] )
            )
        )
    ]
    elseifs: []
    else: null
)