summaryrefslogtreecommitdiff
path: root/ext/phar/tests/frontcontroller23.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/frontcontroller23.phpt')
-rw-r--r--ext/phar/tests/frontcontroller23.phpt17
1 files changed, 17 insertions, 0 deletions
diff --git a/ext/phar/tests/frontcontroller23.phpt b/ext/phar/tests/frontcontroller23.phpt
new file mode 100644
index 0000000..24464c9
--- /dev/null
+++ b/ext/phar/tests/frontcontroller23.phpt
@@ -0,0 +1,17 @@
+--TEST--
+Phar front controller with generic action router test
+--INI--
+default_charset=UTF-8
+--SKIPIF--
+<?php if (!extension_loaded("phar")) die("skip"); ?>
+--ENV--
+SCRIPT_NAME=/frontcontroller23.php
+REQUEST_URI=/frontcontroller23.php/hi/there
+PATH_INFO=/hi/there
+--FILE_EXTERNAL--
+files/frontcontroller14.phar
+--EXPECTHEADERS--
+Content-type: text/html; charset=UTF-8
+--EXPECTF--
+string(9) "/hi/there"
+string(%d) "phar://%sfrontcontroller23.php/html/index.php" \ No newline at end of file