1Nullable types 2----- 3<?php 4 5function test(?Foo $bar, ?string $foo) : ?Baz { 6} 7----- 8array( 9 0: Stmt_Function( 10 attrGroups: array( 11 ) 12 byRef: false 13 name: Identifier( 14 name: test 15 ) 16 params: array( 17 0: Param( 18 attrGroups: array( 19 ) 20 flags: 0 21 type: NullableType( 22 type: Name( 23 name: Foo 24 ) 25 ) 26 byRef: false 27 variadic: false 28 var: Expr_Variable( 29 name: bar 30 ) 31 default: null 32 hooks: array( 33 ) 34 ) 35 1: Param( 36 attrGroups: array( 37 ) 38 flags: 0 39 type: NullableType( 40 type: Identifier( 41 name: string 42 ) 43 ) 44 byRef: false 45 variadic: false 46 var: Expr_Variable( 47 name: foo 48 ) 49 default: null 50 hooks: array( 51 ) 52 ) 53 ) 54 returnType: NullableType( 55 type: Name( 56 name: Baz 57 ) 58 ) 59 stmts: array( 60 ) 61 ) 62) 63