Mercurial > hg > isophonics-drupal-site
comparison vendor/nikic/php-parser/test/code/parser/stmt/haltCompiler.test @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children | 5fb285c0d0e3 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 __halt_compiler | |
2 ----- | |
3 <?php | |
4 | |
5 $a; | |
6 __halt_compiler() | |
7 ?> | |
8 Hallo World! | |
9 ----- | |
10 array( | |
11 0: Expr_Variable( | |
12 name: a | |
13 ) | |
14 1: Stmt_HaltCompiler( | |
15 remaining: Hallo World! | |
16 ) | |
17 ) | |
18 ----- | |
19 <?php | |
20 | |
21 $a; | |
22 __halt_compiler();Hallo World! | |
23 ----- | |
24 array( | |
25 0: Expr_Variable( | |
26 name: a | |
27 ) | |
28 1: Stmt_HaltCompiler( | |
29 remaining: Hallo World! | |
30 ) | |
31 ) | |
32 ----- | |
33 <?php | |
34 | |
35 namespace A; | |
36 $a; | |
37 __halt_compiler(); | |
38 ----- | |
39 array( | |
40 0: Stmt_Namespace( | |
41 name: Name( | |
42 parts: array( | |
43 0: A | |
44 ) | |
45 ) | |
46 stmts: array( | |
47 0: Expr_Variable( | |
48 name: a | |
49 ) | |
50 ) | |
51 ) | |
52 1: Stmt_HaltCompiler( | |
53 remaining: | |
54 ) | |
55 ) |