summaryrefslogtreecommitdiff
path: root/tests/dump_ast.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dump_ast.php')
-rw-r--r--tests/dump_ast.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/dump_ast.php b/tests/dump_ast.php
new file mode 100644
index 0000000..418fbc8
--- /dev/null
+++ b/tests/dump_ast.php
@@ -0,0 +1,5 @@
+<?php
+
+require(dirname(__FILE__) . "/../stupid_template_engine.php");
+
+var_dump(\ste\Parser::parse(file_get_contents("php://stdin"), "-"));