Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / nikic / php-parser / test / code / parser / expr / exit.test
index 8f21e5ba97bfa0cca3c85387bbcd5b0eb10f934c..c880921f30dfdae6e6233f804684328f698d4c2d 100644 (file)
@@ -9,26 +9,38 @@ die();
 die('Exit!');
 -----
 array(
-    0: Expr_Exit(
-        expr: null
+    0: Stmt_Expression(
+        expr: Expr_Exit(
+            expr: null
+        )
     )
-    1: Expr_Exit(
-        expr: null
+    1: Stmt_Expression(
+        expr: Expr_Exit(
+            expr: null
+        )
     )
-    2: Expr_Exit(
-        expr: Scalar_String(
-            value: Die!
+    2: Stmt_Expression(
+        expr: Expr_Exit(
+            expr: Scalar_String(
+                value: Die!
+            )
         )
     )
-    3: Expr_Exit(
-        expr: null
+    3: Stmt_Expression(
+        expr: Expr_Exit(
+            expr: null
+        )
     )
-    4: Expr_Exit(
-        expr: null
+    4: Stmt_Expression(
+        expr: Expr_Exit(
+            expr: null
+        )
     )
-    5: Expr_Exit(
-        expr: Scalar_String(
-            value: Exit!
+    5: Stmt_Expression(
+        expr: Expr_Exit(
+            expr: Scalar_String(
+                value: Exit!
+            )
         )
     )
 )
\ No newline at end of file