From 76aa81b3164fb0d6b9674579ef8d466e3fa3c508 Mon Sep 17 00:00:00 2001
From: Ludovic Pouzenc <ludovic@pouzenc.fr>
Date: Thu, 1 Sep 2022 16:50:01 +0200
Subject: Import concat.php

---
 concat/testfiles/a.php      |  1 +
 concat/testfiles/b.php      |  5 +++++
 concat/testfiles/c.php      |  2 ++
 concat/testfiles/result.php | 12 ++++++++++++
 4 files changed, 20 insertions(+)
 create mode 100644 concat/testfiles/a.php
 create mode 100644 concat/testfiles/b.php
 create mode 100644 concat/testfiles/c.php
 create mode 100644 concat/testfiles/result.php

(limited to 'concat/testfiles')

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";
-- 
cgit v1.2.3