Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/php-static-scanner-instrumentalization.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/nikic/php-parser/test/code/parser/stmt/unset.test')
-rw-r--r--vendor/nikic/php-parser/test/code/parser/stmt/unset.test26
1 files changed, 26 insertions, 0 deletions
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
index 0000000..c69679e
--- /dev/null
+++ b/vendor/nikic/php-parser/test/code/parser/stmt/unset.test
@@ -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