view vendor/nikic/php-parser/test/code/parser/stmt/unset.test @ 5:c69a71b4f40f

Add slideshow module
author Chris Cannam
date Thu, 07 Dec 2017 14:46:23 +0000
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
            )
        )
    )
)