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
/
function
/
nullableTypes.test
1
Nullable types
2
-----
3
<?php
4
5
function test(?Foo $bar, ?string $foo) : ?Baz {
6
}
7
-----
8
!!php7
9
array(
10
0: Stmt_Function(
11
byRef: false
12
name: test
13
params: array(
14
0: Param(
15
type: NullableType(
16
type: Name(
17
parts: array(
18
0: Foo
19
)
20
)
21
)
22
byRef: false
23
variadic: false
24
name: bar
25
default: null
26
)
27
1: Param(
28
type: NullableType(
29
type: string
30
)
31
byRef: false
32
variadic: false
33
name: foo
34
default: null
35
)
36
)
37
returnType: NullableType(
38
type: Name(
39
parts: array(
40
0: Baz
41
)
42
)
43
)
44
stmts: array(
45
)
46
)
47
)