%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/kpk/api/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/
Upload File :
Create Path :
Current File : /var/www/html/kpk/api/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/constFetch.test

Constant fetches
-----
<?php

A;
A::B;
A::class;
-----
array(
    0: Stmt_Expression(
        expr: Expr_ConstFetch(
            name: Name(
                parts: array(
                    0: A
                )
            )
        )
    )
    1: Stmt_Expression(
        expr: Expr_ClassConstFetch(
            class: Name(
                parts: array(
                    0: A
                )
            )
            name: Identifier(
                name: B
            )
        )
    )
    2: Stmt_Expression(
        expr: Expr_ClassConstFetch(
            class: Name(
                parts: array(
                    0: A
                )
            )
            name: Identifier(
                name: class
            )
        )
    )
)

Zerion Mini Shell 1.0