projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Security update for Core, with self-updated composer
[yaffs-website]
/
vendor
/
nikic
/
php-parser
/
test
/
code
/
parser
/
stmt
/
declare.test
1
Declare
2
-----
3
<?php
4
5
declare (X='Y');
6
7
declare (A='B', C='D') {}
8
9
declare (A='B', C='D'):
10
enddeclare;
11
-----
12
array(
13
0: Stmt_Declare(
14
declares: array(
15
0: Stmt_DeclareDeclare(
16
key: X
17
value: Scalar_String(
18
value: Y
19
)
20
)
21
)
22
stmts: null
23
)
24
1: Stmt_Declare(
25
declares: array(
26
0: Stmt_DeclareDeclare(
27
key: A
28
value: Scalar_String(
29
value: B
30
)
31
)
32
1: Stmt_DeclareDeclare(
33
key: C
34
value: Scalar_String(
35
value: D
36
)
37
)
38
)
39
stmts: array(
40
)
41
)
42
2: Stmt_Declare(
43
declares: array(
44
0: Stmt_DeclareDeclare(
45
key: A
46
value: Scalar_String(
47
value: B
48
)
49
)
50
1: Stmt_DeclareDeclare(
51
key: C
52
value: Scalar_String(
53
value: D
54
)
55
)
56
)
57
stmts: array(
58
)
59
)
60
)