summaryrefslogtreecommitdiff
path: root/ext/phar/tests/cache_list/frontcontroller15.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/cache_list/frontcontroller15.phpt')
-rw-r--r--ext/phar/tests/cache_list/frontcontroller15.phpt21
1 files changed, 21 insertions, 0 deletions
diff --git a/ext/phar/tests/cache_list/frontcontroller15.phpt b/ext/phar/tests/cache_list/frontcontroller15.phpt
new file mode 100644
index 0000000..d142a5d
--- /dev/null
+++ b/ext/phar/tests/cache_list/frontcontroller15.phpt
@@ -0,0 +1,21 @@
+--TEST--
+Phar front controller mime type override, Phar::PHPS [cache_list]
+--INI--
+default_charset=UTF-8
+phar.cache_list={PWD}/frontcontroller15.php
+--SKIPIF--
+<?php if (!extension_loaded("phar")) die("skip"); ?>
+--ENV--
+SCRIPT_NAME=/frontcontroller15.php
+REQUEST_URI=/frontcontroller15.php/a.php
+PATH_INFO=/a.php
+--FILE_EXTERNAL--
+files/frontcontroller8.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>
+