Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / nikic / php-parser / test / code / parser / stmt / haltCompiler.test
index 67133ba74c57d0a9068a894e467c29f550a9c65b..112946ea7c7e6085d773e5960ffd1afb95c3bfa4 100644 (file)
@@ -8,8 +8,10 @@ __halt_compiler()
 Hallo World!
 -----
 array(
-    0: Expr_Variable(
-        name: a
+    0: Stmt_Expression(
+        expr: Expr_Variable(
+            name: a
+        )
     )
     1: Stmt_HaltCompiler(
         remaining: Hallo World!
@@ -22,8 +24,10 @@ $a;
 __halt_compiler();Hallo World!
 -----
 array(
-    0: Expr_Variable(
-        name: a
+    0: Stmt_Expression(
+        expr: Expr_Variable(
+            name: a
+        )
     )
     1: Stmt_HaltCompiler(
         remaining: Hallo World!
@@ -44,8 +48,10 @@ array(
             )
         )
         stmts: array(
-            0: Expr_Variable(
-                name: a
+            0: Stmt_Expression(
+                expr: Expr_Variable(
+                    name: a
+                )
             )
         )
     )