Security update for Core, with self-updated composer
[yaffs-website] / vendor / nikic / php-parser / test / code / parser / stmt / unset.test
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/unset.test b/vendor/nikic/php-parser/test/code/parser/stmt/unset.test
new file mode 100644 (file)
index 0000000..c69679e
--- /dev/null
@@ -0,0 +1,26 @@
+Unset
+-----
+<?php
+
+unset($a);
+unset($b, $c);
+-----
+array(
+    0: Stmt_Unset(
+        vars: array(
+            0: Expr_Variable(
+                name: a
+            )
+        )
+    )
+    1: Stmt_Unset(
+        vars: array(
+            0: Expr_Variable(
+                name: b
+            )
+            1: Expr_Variable(
+                name: c
+            )
+        )
+    )
+)
\ No newline at end of file