1Declaring exit and die function stubs 2----- 3<?php 4 5function exit(string|int $status = 0): never {} 6 7function die(string|int $status = 0): never {} 8----- 9array( 10 0: Stmt_Function( 11 attrGroups: array( 12 ) 13 byRef: false 14 name: Identifier( 15 name: exit 16 ) 17 params: array( 18 0: Param( 19 attrGroups: array( 20 ) 21 flags: 0 22 type: UnionType( 23 types: array( 24 0: Identifier( 25 name: string 26 ) 27 1: Identifier( 28 name: int 29 ) 30 ) 31 ) 32 byRef: false 33 variadic: false 34 var: Expr_Variable( 35 name: status 36 ) 37 default: Scalar_Int( 38 value: 0 39 ) 40 hooks: array( 41 ) 42 ) 43 ) 44 returnType: Identifier( 45 name: never 46 ) 47 stmts: array( 48 ) 49 ) 50 1: Stmt_Function( 51 attrGroups: array( 52 ) 53 byRef: false 54 name: Identifier( 55 name: die 56 ) 57 params: array( 58 0: Param( 59 attrGroups: array( 60 ) 61 flags: 0 62 type: UnionType( 63 types: array( 64 0: Identifier( 65 name: string 66 ) 67 1: Identifier( 68 name: int 69 ) 70 ) 71 ) 72 byRef: false 73 variadic: false 74 var: Expr_Variable( 75 name: status 76 ) 77 default: Scalar_Int( 78 value: 0 79 ) 80 hooks: array( 81 ) 82 ) 83 ) 84 returnType: Identifier( 85 name: never 86 ) 87 stmts: array( 88 ) 89 ) 90) 91