Mercurial > hg > isophonics-drupal-site
view vendor/nikic/php-parser/test/code/parser/stmt/haltCompiler.test @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 5fb285c0d0e3 |
children |
line wrap: on
line source
__halt_compiler ----- <?php $a; __halt_compiler() ?> Hallo World! ----- array( 0: Stmt_Expression( expr: Expr_Variable( name: a ) ) 1: Stmt_HaltCompiler( remaining: Hallo World! ) ) ----- <?php $a; __halt_compiler();Hallo World! ----- array( 0: Stmt_Expression( expr: Expr_Variable( name: a ) ) 1: Stmt_HaltCompiler( remaining: Hallo World! ) ) ----- <?php namespace A; $a; __halt_compiler(); ----- array( 0: Stmt_Namespace( name: Name( parts: array( 0: A ) ) stmts: array( 0: Stmt_Expression( expr: Expr_Variable( name: a ) ) ) ) 1: Stmt_HaltCompiler( remaining: ) )