summaryrefslogtreecommitdiff
path: root/tests/test01-parsing/src/php-weave/to_parse.php
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2012-08-01 08:29:21 +0000
committerLudovic Pouzenc <ludovic@pouzenc.fr>2012-08-01 08:29:21 +0000
commite73d3ed6011892b053b75419a43317c6a07bc763 (patch)
tree68f07771560b856e10bd464163c46cbe566df2a1 /tests/test01-parsing/src/php-weave/to_parse.php
parentcfdc1bc2f770341db269279b160d9210cd4b923c (diff)
download2012-php-weave-e73d3ed6011892b053b75419a43317c6a07bc763.tar.gz
2012-php-weave-e73d3ed6011892b053b75419a43317c6a07bc763.tar.bz2
2012-php-weave-e73d3ed6011892b053b75419a43317c6a07bc763.zip
Premier commit.
nikic-PHP-Parser est un outil très prometteur. Le test test01-parsing inclu dans l'AST principal tous les include(<String>) ou string est un chemin relatif facile à résoudre. git-svn-id: file:///var/svn/2012-php-weave/trunk@2 d972a294-176a-4cf9-8ea1-fcd5b0c30f5c
Diffstat (limited to 'tests/test01-parsing/src/php-weave/to_parse.php')
-rw-r--r--tests/test01-parsing/src/php-weave/to_parse.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test01-parsing/src/php-weave/to_parse.php b/tests/test01-parsing/src/php-weave/to_parse.php
new file mode 100644
index 0000000..7b953d5
--- /dev/null
+++ b/tests/test01-parsing/src/php-weave/to_parse.php
@@ -0,0 +1,5 @@
+<?php
+if (1){
+include('./inc.php');
+}
+?>