summaryrefslogtreecommitdiff
path: root/ext/phar/tests/frontcontroller9.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/frontcontroller9.phpt')
-rw-r--r--ext/phar/tests/frontcontroller9.phpt19
1 files changed, 19 insertions, 0 deletions
diff --git a/ext/phar/tests/frontcontroller9.phpt b/ext/phar/tests/frontcontroller9.phpt
new file mode 100644
index 0000000..d47a289
--- /dev/null
+++ b/ext/phar/tests/frontcontroller9.phpt
@@ -0,0 +1,19 @@
+--TEST--
+Phar front controller rewrite array
+--INI--
+default_charset=UTF-8
+--SKIPIF--
+<?php if (!extension_loaded("phar")) die("skip"); ?>
+--ENV--
+SCRIPT_NAME=/frontcontroller9.php
+REQUEST_URI=/frontcontroller9.php/hi
+PATH_INFO=/hi
+--FILE_EXTERNAL--
+files/frontcontroller3.phar
+--EXPECTHEADERS--
+Content-type: text/html; charset=UTF-8
+--EXPECT--
+<code><span style="color: #000000">
+<span style="color: #0000BB">&lt;?php&nbsp;</span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">hio</span><span style="color: #007700">(){}</span>
+</span>
+</code> \ No newline at end of file