view vendor/nikic/php-parser/test/code/parser/stmt/unset.test @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 4c8ae668cc8c
children
line wrap: on
line source
Unset
-----
<?php

unset($a);
unset($b, $c);
-----
array(
    0: Stmt_Unset(
        vars: array(
            0: Expr_Variable(
                name: a
            )
        )
    )
    1: Stmt_Unset(
        vars: array(
            0: Expr_Variable(
                name: b
            )
            1: Expr_Variable(
                name: c
            )
        )
    )
)