projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
aecced5d611d058fcfe23dd88a738f5681069c9e
[yaffs-website]
/
vendor
/
nikic
/
php-parser
/
test
/
code
/
parser
/
stmt
/
function
/
builtinTypeDeclarations.test
1
Scalar type declarations
2
-----
3
<?php
4
function test(bool $a, Int $b, FLOAT $c, StRiNg $d, iterable $e, object $f) : void {}
5
-----
6
!!php7
7
array(
8
0: Stmt_Function(
9
byRef: false
10
name: test
11
params: array(
12
0: Param(
13
type: bool
14
byRef: false
15
variadic: false
16
name: a
17
default: null
18
)
19
1: Param(
20
type: int
21
byRef: false
22
variadic: false
23
name: b
24
default: null
25
)
26
2: Param(
27
type: float
28
byRef: false
29
variadic: false
30
name: c
31
default: null
32
)
33
3: Param(
34
type: string
35
byRef: false
36
variadic: false
37
name: d
38
default: null
39
)
40
4: Param(
41
type: iterable
42
byRef: false
43
variadic: false
44
name: e
45
default: null
46
)
47
5: Param(
48
type: object
49
byRef: false
50
variadic: false
51
name: f
52
default: null
53
)
54
)
55
returnType: void
56
stmts: array(
57
)
58
)
59
)