summaryrefslogtreecommitdiff
path: root/concat/testfiles
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2022-09-01 16:50:01 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2022-09-01 16:50:01 +0200
commit76aa81b3164fb0d6b9674579ef8d466e3fa3c508 (patch)
tree7e3fa0a86673378907fdfb719d6a38898e14138d /concat/testfiles
downloadphppp-master.tar.gz
phppp-master.tar.bz2
phppp-master.zip
Import concat.phpHEADmaster
Diffstat (limited to 'concat/testfiles')
-rw-r--r--concat/testfiles/a.php1
-rw-r--r--concat/testfiles/b.php5
-rw-r--r--concat/testfiles/c.php2
-rw-r--r--concat/testfiles/result.php12
4 files changed, 20 insertions, 0 deletions
diff --git a/concat/testfiles/a.php b/concat/testfiles/a.php
new file mode 100644
index 0000000..068821b
--- /dev/null
+++ b/concat/testfiles/a.php
@@ -0,0 +1 @@
+<?=print_r($_GET,true);
diff --git a/concat/testfiles/b.php b/concat/testfiles/b.php
new file mode 100644
index 0000000..fdb397e
--- /dev/null
+++ b/concat/testfiles/b.php
@@ -0,0 +1,5 @@
+HTML
+<?php
+ echo "hello"; ?>HTML2
+HTML3
+<?php
diff --git a/concat/testfiles/c.php b/concat/testfiles/c.php
new file mode 100644
index 0000000..c222699
--- /dev/null
+++ b/concat/testfiles/c.php
@@ -0,0 +1,2 @@
+<?php
+echo "test\n";
diff --git a/concat/testfiles/result.php b/concat/testfiles/result.php
new file mode 100644
index 0000000..1f2cea4
--- /dev/null
+++ b/concat/testfiles/result.php
@@ -0,0 +1,12 @@
+<?=
+#line 1 testfiles/a.php
+print_r($_GET,true);
+?>
+HTML
+<?php
+#line 3 testfiles/b.php
+ echo "hello"; ?>HTML2
+HTML3
+<?php
+#line 2 testfiles/c.php
+echo "test\n";