comparison vendor/nikic/php-parser/test/code/parser/expr/exit.test @ 13:5fb285c0d0e3

Update Drupal core to 8.4.7 via Composer. Security update; I *think* we've been lucky to get away with this so far, as we don't support self-registration which seems to be used by the so-called "drupalgeddon 2" attack that 8.4.5 was vulnerable to.
author Chris Cannam
date Mon, 23 Apr 2018 09:33:26 +0100
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
12:7a779792577d 13:5fb285c0d0e3
7 die; 7 die;
8 die(); 8 die();
9 die('Exit!'); 9 die('Exit!');
10 ----- 10 -----
11 array( 11 array(
12 0: Expr_Exit( 12 0: Stmt_Expression(
13 expr: null 13 expr: Expr_Exit(
14 ) 14 expr: null
15 1: Expr_Exit(
16 expr: null
17 )
18 2: Expr_Exit(
19 expr: Scalar_String(
20 value: Die!
21 ) 15 )
22 ) 16 )
23 3: Expr_Exit( 17 1: Stmt_Expression(
24 expr: null 18 expr: Expr_Exit(
19 expr: null
20 )
25 ) 21 )
26 4: Expr_Exit( 22 2: Stmt_Expression(
27 expr: null 23 expr: Expr_Exit(
24 expr: Scalar_String(
25 value: Die!
26 )
27 )
28 ) 28 )
29 5: Expr_Exit( 29 3: Stmt_Expression(
30 expr: Scalar_String( 30 expr: Expr_Exit(
31 value: Exit! 31 expr: null
32 )
33 )
34 4: Stmt_Expression(
35 expr: Expr_Exit(
36 expr: null
37 )
38 )
39 5: Stmt_Expression(
40 expr: Expr_Exit(
41 expr: Scalar_String(
42 value: Exit!
43 )
32 ) 44 )
33 ) 45 )
34 ) 46 )