1. Write short PHP code you want to understand

2. Click on any part of the code

<?php

use Some\ClassC; \Some\ClassC::getB()->getValue(); \Some\ClassC::getB()->getValue(1, \null, 2, 3);

3. See Abstract Syntax Tree created by php-parser for full file

[
    0: PhpParser\Node\Stmt\Use_(
        type: TYPE_NORMAL (1)
        uses: [
            0: PhpParser\Node\UseItem(
                type: TYPE_UNKNOWN (0)
                name: PhpParser\Node\Name( parts: ["Some","ClassC"] )
                alias: null
            )
        ]
    )
    1: PhpParser\Node\Stmt\Expression(
        expr: PhpParser\Node\Expr\MethodCall(
            var: PhpParser\Node\Expr\StaticCall(
                class: PhpParser\Node\Name\FullyQualified( parts: ["Some","ClassC"] )
                name: PhpParser\Node\Identifier( name: "getB" )
                args: []
            )
            name: PhpParser\Node\Identifier( name: "getValue" )
            args: []
        )
    )
    2: PhpParser\Node\Stmt\Expression(
        expr: PhpParser\Node\Expr\MethodCall(
            var: PhpParser\Node\Expr\StaticCall(
                class: PhpParser\Node\Name\FullyQualified( parts: ["Some","ClassC"] )
                name: PhpParser\Node\Identifier( name: "getB" )
                args: []
            )
            name: PhpParser\Node\Identifier( name: "getValue" )
            args: [
                0: PhpParser\Node\Arg(
                    name: null
                    value: PhpParser\Node\Scalar\Int_( value: 1 )
                    byRef: false
                    unpack: false
                )
                1: PhpParser\Node\Arg(
                    name: null
                    value: PhpParser\Node\Expr\ConstFetch(
                        name: PhpParser\Node\Name\FullyQualified( parts: ["null"] )
                    )
                    byRef: false
                    unpack: false
                )
                2: PhpParser\Node\Arg(
                    name: null
                    value: PhpParser\Node\Scalar\Int_( value: 2 )
                    byRef: false
                    unpack: false
                )
                3: PhpParser\Node\Arg(
                    name: null
                    value: PhpParser\Node\Scalar\Int_( value: 3 )
                    byRef: false
                    unpack: false
                )
            ]
        )
    )
]