Security update for Core, with self-updated composer
[yaffs-website] / vendor / nikic / php-parser / test / code / parser / expr / exit.test
1 Exit
2 -----
3 <?php
4 exit;
5 exit();
6 exit('Die!');
7 die;
8 die();
9 die('Exit!');
10 -----
11 array(
12     0: Expr_Exit(
13         expr: null
14     )
15     1: Expr_Exit(
16         expr: null
17     )
18     2: Expr_Exit(
19         expr: Scalar_String(
20             value: Die!
21         )
22     )
23     3: Expr_Exit(
24         expr: null
25     )
26     4: Expr_Exit(
27         expr: null
28     )
29     5: Expr_Exit(
30         expr: Scalar_String(
31             value: Exit!
32         )
33     )
34 )