summaryrefslogtreecommitdiff
path: root/ext/phar/tests/frontcontroller3.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/frontcontroller3.phpt')
-rw-r--r--ext/phar/tests/frontcontroller3.phpt19
1 files changed, 19 insertions, 0 deletions
diff --git a/ext/phar/tests/frontcontroller3.phpt b/ext/phar/tests/frontcontroller3.phpt
new file mode 100644
index 0000000..ac36485
--- /dev/null
+++ b/ext/phar/tests/frontcontroller3.phpt
@@ -0,0 +1,19 @@
+--TEST--
+Phar front controller phps
+--INI--
+default_charset=UTF-8
+--SKIPIF--
+<?php if (!extension_loaded("phar")) die("skip"); ?>
+--ENV--
+SCRIPT_NAME=/frontcontroller3.php
+REQUEST_URI=/frontcontroller3.php/a.phps
+PATH_INFO=/a.phps
+--FILE_EXTERNAL--
+files/frontcontroller.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>