Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / nikic / php-parser / test / code / parser / stmt / function / specialVars.test
index f2f35acf453de8f50bca45300c65058b118f93c9..10a9e0796eea1d3a50c51d8bfac580b159077d23 100644 (file)
@@ -10,7 +10,9 @@ function a() {
 array(
     0: Stmt_Function(
         byRef: false
-        name: a
+        name: Identifier(
+            name: a
+        )
         params: array(
         )
         returnType: null
@@ -35,11 +37,15 @@ array(
             1: Stmt_Static(
                 vars: array(
                     0: Stmt_StaticVar(
-                        name: c
+                        var: Expr_Variable(
+                            name: c
+                        )
                         default: null
                     )
                     1: Stmt_StaticVar(
-                        name: d
+                        var: Expr_Variable(
+                            name: d
+                        )
                         default: Scalar_String(
                             value: e
                         )
@@ -48,4 +54,4 @@ array(
             )
         )
     )
-)
+)
\ No newline at end of file