diff options
Diffstat (limited to 'tests/test_scoping')
-rw-r--r-- | tests/test_scoping/.gitignore | 3 | ||||
-rw-r--r-- | tests/test_scoping/code.php | 5 | ||||
-rw-r--r-- | tests/test_scoping/test.tpl | 18 | ||||
-rw-r--r-- | tests/test_scoping/want | 9 |
4 files changed, 0 insertions, 35 deletions
diff --git a/tests/test_scoping/.gitignore b/tests/test_scoping/.gitignore deleted file mode 100644 index de2a41b..0000000 --- a/tests/test_scoping/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -have -*.ast -*.transc.php diff --git a/tests/test_scoping/code.php b/tests/test_scoping/code.php deleted file mode 100644 index 25e7f00..0000000 --- a/tests/test_scoping/code.php +++ /dev/null @@ -1,5 +0,0 @@ -<?php - -function test_func($ste) -{ -} diff --git a/tests/test_scoping/test.tpl b/tests/test_scoping/test.tpl deleted file mode 100644 index e8a5cf2..0000000 --- a/tests/test_scoping/test.tpl +++ /dev/null @@ -1,18 +0,0 @@ -<ste:set var="a">A</ste:set> -<ste:set var="b">B</ste:set> -<ste:mktag name="foo"> - in foo: \$a = $a - in foo: \$b = $b - in foo: \$c = $c - <ste:set var="a">X</ste:set> - <ste:setlocal var="b">Y</ste:setlocal> - <ste:set var="c">Z</ste:set> - in foo (after set): \$a = $a - in foo (after set): \$b = $b - in foo (after set): \$c = $c -</ste:mktag> - -<ste:foo /> -\$a = $a -\$b = $b -\$c = $c
\ No newline at end of file diff --git a/tests/test_scoping/want b/tests/test_scoping/want deleted file mode 100644 index 6e7a154..0000000 --- a/tests/test_scoping/want +++ /dev/null @@ -1,9 +0,0 @@ -in foo: $a = A -in foo: $b = B -in foo: $c = -in foo (after set): $a = X -in foo (after set): $b = Y -in foo (after set): $c = Z -$a = X -$b = B -$c = |